Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.376/1.376, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001065, allocations: 178 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 0.5777 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008141/0.0008145, allocations: 88.23 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005282/0.0005283, allocations: 6.531 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3154, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003596/0.3191, allocations: 1.804 MB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.3209, allocations: 0.7142 MB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.3211, allocations: 4 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.3214, allocations: 31.66 kB / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.3215, allocations: 23.8 kB / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.3218, allocations: 67.86 kB / 0.9029 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003486/0.3222, allocations: 264.5 kB / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002755/0.3225, allocations: 102.6 kB / 0.9032 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.3226, allocations: 59.59 kB / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.3228, allocations: 75.5 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.3228, allocations: 8 kB / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.96e-05/0.3229, allocations: 8 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.542e-05/0.3229, allocations: 23.8 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.321e-05/0.323, allocations: 65.58 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.3233, allocations: 315.4 kB / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3234, allocations: 0 / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3234, allocations: 4 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3234, allocations: 0 / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001059/0.3245, allocations: 0.5222 MB / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.3245, allocations: 12.03 kB / 0.9043 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.234e-05/0.3246, allocations: 54.48 kB / 0.9043 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.484e-05/0.3247, allocations: 31.67 kB / 0.9044 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.3252, allocations: 290.9 kB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.3252, allocations: 16.44 kB / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.3253, allocations: 16 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007478/0.326, allocations: 254.7 kB / 0.9049 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.3261, allocations: 3.938 kB / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.3261, allocations: 8 kB / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.3261, allocations: 4 kB / 0.9049 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007487/0.3269, allocations: 195.9 kB / 0.9051 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.3285, allocations: 1.05 MB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007666/0.3293, allocations: 202.7 kB / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003641/0.3296, allocations: 108.8 kB / 0.9065 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.3297, allocations: 0 / 0.9065 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.3297, allocations: 34.56 kB / 0.9065 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.794e-06/0.3297, allocations: 0 / 0.9065 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.001007/0.3308, allocations: 253.4 kB / 0.9067 GB, free: 57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.3308, allocations: 81.05 kB / 0.9068 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.3312, allocations: 262.5 kB / 0.9071 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.3312, allocations: 29.7 kB / 0.9071 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.3314, allocations: 164 kB / 0.9072 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.3314, allocations: 39.39 kB / 0.9073 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/0.3315, allocations: 0 / 0.9073 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.082e-05/0.3315, allocations: 342.8 kB / 0.9076 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.3319, allocations: 67.95 kB / 0.9077 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.3322, allocations: 119.1 kB / 0.9078 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.3326, allocations: 81.69 kB / 0.9079 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3326, allocations: 0 / 0.9079 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007689/0.3334, allocations: 233.3 kB / 0.9081 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.923e-05/0.3335, allocations: 104 kB / 0.9082 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3335, allocations: 0 / 0.9082 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.3335, allocations: 4 kB / 0.9082 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.3338, allocations: 47.94 kB / 0.9082 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.3338, allocations: 0 / 0.9082 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.3341, allocations: 31.83 kB / 0.9083 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.3342, allocations: 8 kB / 0.9083 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/0.3342, allocations: 0 / 0.9083 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005253/0.3347, allocations: 147.9 kB / 0.9084 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3347, allocations: 4 kB / 0.9084 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.618e-06/0.3348, allocations: 3.953 kB / 0.9084 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.335, allocations: 31.92 kB / 0.9085 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.335, allocations: 12 kB / 0.9085 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.3352, allocations: 23.83 kB / 0.9085 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.3352, allocations: 8 kB / 0.9085 GB, free: 55.11 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001796/0.3354, allocations: 217.1 kB / 0.9087 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.3355, allocations: 23.72 kB / 0.9087 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.838e-05/0.3356, allocations: 25.66 kB / 0.9087 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3356, allocations: 8 kB / 0.9088 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3356, allocations: 0 / 0.9088 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.3356, allocations: 7.922 kB / 0.9088 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.336, allocations: 313.3 kB / 0.9091 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.336, allocations: 4 kB / 0.9091 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.3363, allocations: 31.98 kB / 0.9091 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.3364, allocations: 3.984 kB / 0.9091 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.3364, allocations: 0 / 0.9091 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3364, allocations: 7.891 kB / 0.9091 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3364, allocations: 4 kB / 0.9091 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.3374, allocations: 371.2 kB / 0.9095 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.3375, allocations: 100.8 kB / 0.9096 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.3376, allocations: 3.984 kB / 0.9096 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.3378, allocations: 24.05 kB / 0.9096 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.3379, allocations: 15.94 kB / 0.9096 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.3379, allocations: 0 / 0.9096 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002462/0.3382, allocations: 190 kB / 0.9098 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-07/0.3382, allocations: 0 / 0.9098 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006037/0.3388, allocations: 63.69 kB / 0.9098 GB, free: 53.63 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001228/0.3401, allocations: 0.9113 MB / 0.9107 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009607/0.341, allocations: 243.1 kB / 0.911 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.3411, allocations: 8.188 kB / 0.911 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003392/0.3414, allocations: 79.89 kB / 0.9111 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007079/0.3421, allocations: 47.89 kB / 0.9111 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/0.3456, allocations: 1.355 MB / 0.9124 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.3458, allocations: 0.7443 MB / 0.9131 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001772/0.346, allocations: 21.94 kB / 0.9132 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.3462, allocations: 79.41 kB / 0.9132 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of SimCode: time 8.61e-07/0.3462, allocations: 0 / 0.9132 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.3666, allocations: 4.311 MB / 0.9175 GB, free: 45.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.3668, allocations: 211.6 kB / 0.9177 GB, free: 45.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.067, allocations: 0 / 0.9177 GB, free: 45.7 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)