Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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.001027/0.001027, allocations: 91.45 kB / 15.36 MB, free: 0.7344 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.007881/0.007881, allocations: 169.3 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.000321, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5646/0.5649, allocations: 142.4 MB / 0.9552 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1661/0.731, allocations: 162.5 MB / 1.114 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02077/0.7518, allocations: 16.73 MB / 1.13 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.7531, allocations: 23.81 kB / 1.13 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.7546, allocations: 433.4 kB / 1.131 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004248/0.7588, allocations: 1.364 MB / 1.132 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00338/0.7622, allocations: 1.162 MB / 1.133 GB, free: 8.477 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003205/0.7654, allocations: 2.642 MB / 1.136 GB, free: 5.824 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002488/0.7679, allocations: 1.671 MB / 1.137 GB, free: 4.109 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004727/0.7727, allocations: 0.9966 MB / 1.138 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.7739, allocations: 0.7343 MB / 1.139 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002468/0.7741, allocations: 47.98 kB / 1.139 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/0.7768, allocations: 1.392 MB / 1.14 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004266/0.7773, allocations: 382.2 kB / 1.141 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000979/0.7783, allocations: 0.7859 MB / 1.142 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003684/0.782, allocations: 2.873 MB / 1.144 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.782, allocations: 4 kB / 1.144 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.904e-06/0.782, allocations: 0 / 1.144 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.863e-05/0.7821, allocations: 0 / 1.144 GB, free: 12.91 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.003715/0.7858, allocations: 1.855 MB / 1.146 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.7858, allocations: 8.031 kB / 1.146 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004273/0.7863, allocations: 245 kB / 1.146 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003777/0.79, allocations: 0.5206 MB / 1.147 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/0.7919, allocations: 1.086 MB / 1.148 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.792, allocations: 127.4 kB / 1.148 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002698/0.7923, allocations: 164 kB / 1.148 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003549/0.7958, allocations: 1.855 MB / 1.15 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.7959, allocations: 0 / 1.15 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.796, allocations: 76 kB / 1.15 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/0.7961, allocations: 40 kB / 1.15 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003609/0.7997, allocations: 1.882 MB / 1.152 GB, free: 4.883 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00864/0.8084, allocations: 5.218 MB / 1.157 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003332/0.8117, allocations: 1.769 MB / 1.159 GB, free: 13.57 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.813, allocations: 0.6554 MB / 1.16 GB, free: 12.92 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000974/0.814, allocations: 0.8116 MB / 1.16 GB, free: 11.95 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001759/0.8158, allocations: 0.8997 MB / 1.161 GB, free: 11.02 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 3.897e-06/0.8158, allocations: 0 / 1.161 GB, free: 11.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006495/0.8223, allocations: 2.575 MB / 1.164 GB, free: 8.336 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.8225, allocations: 205.2 kB / 1.164 GB, free: 8.094 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.8237, allocations: 0.8309 MB / 1.165 GB, free: 7.238 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001589/0.8239, allocations: 61.64 kB / 1.165 GB, free: 7.172 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005568/0.8245, allocations: 0.6484 MB / 1.165 GB, free: 6.512 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004221/0.8249, allocations: 481 kB / 1.166 GB, free: 6.035 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.8251, allocations: 101.7 kB / 1.166 GB, free: 5.93 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.8252, allocations: 353.9 kB / 1.166 GB, free: 5.578 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.8263, allocations: 482.3 kB / 1.167 GB, free: 5.105 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.8275, allocations: 0.6379 MB / 1.167 GB, free: 4.426 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/0.8298, allocations: 1.103 MB / 1.168 GB, free: 3.316 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.8298, allocations: 0 / 1.168 GB, free: 3.316 MB / 0.92 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003678/0.8335, allocations: 1.511 MB / 1.17 GB, free: 1.781 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.8335, allocations: 9.25 kB / 1.17 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.8335, allocations: 0 / 1.17 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009741/0.8345, allocations: 196.2 kB / 1.17 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/0.8361, allocations: 327.5 kB / 1.17 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006036/0.8422, allocations: 6.766 MB / 1.177 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.8436, allocations: 179.7 kB / 1.177 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/0.8439, allocations: 51.97 kB / 1.177 GB, free: 9.578 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009143/0.8448, allocations: 381.6 kB / 1.178 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/0.8451, allocations: 134.4 kB / 1.178 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004469/0.8496, allocations: 1.85 MB / 1.18 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.8496, allocations: 16 kB / 1.18 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.8497, allocations: 8 kB / 1.18 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.8497, allocations: 7.969 kB / 1.18 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006686/0.8564, allocations: 3.447 MB / 1.183 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.8564, allocations: 7.938 kB / 1.183 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/0.8579, allocations: 315.6 kB / 1.183 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000855/0.8588, allocations: 188.1 kB / 1.183 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.8589, allocations: 39.97 kB / 1.183 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005775/0.8647, allocations: 6.821 MB / 1.19 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.8647, allocations: 0 / 1.19 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003944/0.8686, allocations: 1.718 MB / 1.192 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.8697, allocations: 422.8 kB / 1.192 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/0.87, allocations: 35.98 kB / 1.192 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.8714, allocations: 139.6 kB / 1.192 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/0.8717, allocations: 113.1 kB / 1.192 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/0.8718, allocations: 67.95 kB / 1.193 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008798/0.8727, allocations: 0.5864 MB / 1.193 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8727, allocations: 0 / 1.193 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001641/0.8744, allocations: 0.5727 MB / 1.194 GB, free: 7.879 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005526/0.8799, allocations: 2.885 MB / 1.197 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003271/0.8832, allocations: 1.844 MB / 1.198 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.8832, allocations: 4.562 kB / 1.198 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001983/0.8852, allocations: 1.313 MB / 1.2 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/0.8878, allocations: 482.5 kB / 1.2 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02197/0.9098, allocations: 11.42 MB / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.9109, allocations: 1.296 MB / 1.212 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00186/0.9128, allocations: 438.1 kB / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009927/0.9138, allocations: 0.6515 MB / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of SimCode: time 6.31e-07/0.9138, allocations: 0 / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5728/1.487, allocations: 34.79 MB / 1.248 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003463/1.487, allocations: 278.3 kB / 1.248 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.037/4.524, allocations: 4.062 kB / 1.248 GB, free: 0.5 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)