Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 92.39 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.806/1.806, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000552/0.0005522, allocations: 13.47 kB / 0.6738 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3235, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002329/0.3259, allocations: 1.665 MB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000797/0.3267, allocations: 404.1 kB / 0.7894 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.3268, allocations: 4 kB / 0.7894 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.327, allocations: 27.72 kB / 0.7895 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.487e-05/0.3271, allocations: 19.8 kB / 0.7895 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.3273, allocations: 55.94 kB / 0.7895 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000268/0.3276, allocations: 252.5 kB / 0.7898 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.3279, allocations: 98.95 kB / 0.7899 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.416e-05/0.328, allocations: 59.66 kB / 0.7899 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.3281, allocations: 71.5 kB / 0.79 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.3281, allocations: 4 kB / 0.79 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.295e-05/0.3282, allocations: 11.94 kB / 0.79 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.045e-05/0.3282, allocations: 35.78 kB / 0.79 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.927e-05/0.3283, allocations: 61.58 kB / 0.7901 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.3286, allocations: 319.4 kB / 0.7904 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.3286, allocations: 4 kB / 0.7904 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3286, allocations: 0 / 0.7904 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.3286, allocations: 0 / 0.7904 GB, free: 8.746 MB / 0.6075 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.0009015/0.3295, allocations: 0.5183 MB / 0.7909 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.923e-05/0.3296, allocations: 8.031 kB / 0.7909 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.3297, allocations: 58.53 kB / 0.791 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.851e-05/0.3298, allocations: 23.72 kB / 0.791 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005404/0.3304, allocations: 279.9 kB / 0.7913 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.3304, allocations: 16.44 kB / 0.7913 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.146e-05/0.3305, allocations: 24 kB / 0.7913 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005618/0.331, allocations: 245.7 kB / 0.7915 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.3311, allocations: 3.984 kB / 0.7915 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.3311, allocations: 4 kB / 0.7915 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.3311, allocations: 8 kB / 0.7915 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000458/0.3316, allocations: 192.8 kB / 0.7917 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.333, allocations: 0.86 MB / 0.7926 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/0.3336, allocations: 194.8 kB / 0.7928 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.3338, allocations: 100.8 kB / 0.7929 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.3339, allocations: 4 kB / 0.7929 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.642e-05/0.3339, allocations: 46.44 kB / 0.7929 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.3339, allocations: 0 / 0.7929 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0007116/0.3346, allocations: 257.5 kB / 0.7931 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.724e-05/0.3347, allocations: 81.11 kB / 0.7932 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.3351, allocations: 241 kB / 0.7935 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.3351, allocations: 29.7 kB / 0.7935 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.3353, allocations: 160.1 kB / 0.7936 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.098e-05/0.3353, allocations: 43.39 kB / 0.7937 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.3354, allocations: 4 kB / 0.7937 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.3356, allocations: 326.8 kB / 0.794 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.3358, allocations: 71.95 kB / 0.7941 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.336, allocations: 121 kB / 0.7942 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.3362, allocations: 83.97 kB / 0.7943 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3362, allocations: 0 / 0.7943 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000489/0.3367, allocations: 229.4 kB / 0.7945 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.3368, allocations: 111.5 kB / 0.7946 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.3369, allocations: 0 / 0.7946 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.3369, allocations: 7.938 kB / 0.7946 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.3371, allocations: 51.91 kB / 0.7946 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.3371, allocations: 3.938 kB / 0.7946 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.3372, allocations: 31.83 kB / 0.7947 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.3373, allocations: 7.984 kB / 0.7947 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.675e-06/0.3373, allocations: 4 kB / 0.7947 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003114/0.3376, allocations: 155.3 kB / 0.7948 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3376, allocations: 4 kB / 0.7948 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-06/0.3376, allocations: 0 / 0.7948 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.3378, allocations: 35.97 kB / 0.7949 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3378, allocations: 4.078 kB / 0.7949 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.3379, allocations: 35.84 kB / 0.7949 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.3379, allocations: 4 kB / 0.7949 GB, free: 3.844 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * 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.0002602/0.3382, allocations: 221 kB / 0.7951 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.3382, allocations: 15.81 kB / 0.7951 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.018e-05/0.3383, allocations: 25.7 kB / 0.7952 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.3383, allocations: 0 / 0.7952 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.3383, allocations: 4 kB / 0.7952 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.3383, allocations: 3.953 kB / 0.7952 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.3388, allocations: 309.4 kB / 0.7955 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3388, allocations: 0 / 0.7955 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.3389, allocations: 35.97 kB / 0.7955 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.339, allocations: 0 / 0.7955 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.339, allocations: 0 / 0.7955 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.339, allocations: 4 kB / 0.7955 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.339, allocations: 3.938 kB / 0.7955 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006878/0.3397, allocations: 379.1 kB / 0.7959 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-05/0.3398, allocations: 92.86 kB / 0.796 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.3398, allocations: 7.984 kB / 0.796 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.3399, allocations: 24.05 kB / 0.796 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.34, allocations: 11.98 kB / 0.796 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.34, allocations: 0 / 0.796 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001876/0.3402, allocations: 176.5 kB / 0.7962 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3402, allocations: 0 / 0.7962 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003515/0.3406, allocations: 67.69 kB / 0.7962 GB, free: 2.395 MB / 0.6075 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.001009/0.3416, allocations: 0.9079 MB / 0.7971 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005703/0.3422, allocations: 243.8 kB / 0.7973 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3422, allocations: 384 / 0.7973 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.3424, allocations: 87.94 kB / 0.7974 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.3428, allocations: 37.02 kB / 0.7975 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.3451, allocations: 1.322 MB / 0.7988 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.3455, allocations: 0.7404 MB / 0.7995 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.774e-05/0.3456, allocations: 21.53 kB / 0.7995 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.3457, allocations: 71.42 kB / 0.7996 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.3457, allocations: 0 / 0.7996 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.3614, allocations: 3.964 MB / 0.8034 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/0.3616, allocations: 205 kB / 0.8036 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.251, allocations: 0 / 0.8036 GB, free: 10.83 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) Environment - environmentSimulation: