Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",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.00108/0.00108, allocations: 98.03 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.008067/0.008067, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.223/1.223, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.536/2.536, allocations: 462.7 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002915/0.0002915, allocations: 8.781 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2443, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1484/0.3928, allocations: 158.1 MB / 1.213 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003918/0.3967, allocations: 2.926 MB / 1.216 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000376/0.3971, allocations: 11.94 kB / 1.216 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005352/0.3977, allocations: 179.1 kB / 1.216 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.3993, allocations: 0.7304 MB / 1.217 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006609/0.3999, allocations: 303.4 kB / 1.217 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001272/0.4012, allocations: 1.228 MB / 1.218 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.4016, allocations: 218.2 kB / 1.219 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004679/0.402, allocations: 282.7 kB / 1.219 GB, free: 364 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007381/0.4028, allocations: 270.8 kB / 1.219 GB, free: 92 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.761e-05/0.4028, allocations: 12 kB / 1.219 GB, free: 80 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.4039, allocations: 0.748 MB / 1.22 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.4041, allocations: 103.7 kB / 1.22 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.4043, allocations: 216.7 kB / 1.22 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008762/0.4052, allocations: 0.7631 MB / 1.221 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4052, allocations: 8 kB / 1.221 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.694e-06/0.4052, allocations: 0 / 1.221 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.4052, allocations: 0 / 1.221 GB, free: 14.23 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009138/0.4061, allocations: 0.635 MB / 1.222 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.4062, allocations: 19.95 kB / 1.222 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.259e-05/0.4063, allocations: 58.48 kB / 1.222 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009733/0.4072, allocations: 135.4 kB / 1.222 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005102/0.4078, allocations: 402.3 kB / 1.222 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.4078, allocations: 28.5 kB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.4078, allocations: 24 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.4083, allocations: 279.6 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.4083, allocations: 0 / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.4083, allocations: 12 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.4083, allocations: 8.562 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.4087, allocations: 194.1 kB / 1.223 GB, free: 12.35 MB / 0.9825 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.00156/0.4102, allocations: 1.33 MB / 1.224 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.4106, allocations: 194.8 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.4107, allocations: 88.83 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.4108, allocations: 4 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.4108, allocations: 34.56 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.292e-06/0.4108, allocations: 0 / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.0008455/0.4117, allocations: 409.9 kB / 1.225 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.4117, allocations: 55.41 kB / 1.225 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.412, allocations: 296.6 kB / 1.225 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.412, allocations: 33.7 kB / 1.225 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.4121, allocations: 192 kB / 1.225 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.684e-05/0.4122, allocations: 71.08 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.4122, allocations: 29.7 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.4124, allocations: 338.8 kB / 1.226 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.4125, allocations: 63.97 kB / 1.226 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.4126, allocations: 111.5 kB / 1.226 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.4128, allocations: 195.7 kB / 1.226 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.4128, allocations: 3.984 kB / 1.226 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003291/0.4132, allocations: 249.1 kB / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4132, allocations: 13.7 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4132, allocations: 0 / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.4132, allocations: 7.938 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.4134, allocations: 47.92 kB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.4134, allocations: 0 / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.4137, allocations: 27.94 kB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.4137, allocations: 8 kB / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.4139, allocations: 161.7 kB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.4139, allocations: 31.66 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.399e-05/0.414, allocations: 39.08 kB / 1.227 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.414, allocations: 7.984 kB / 1.227 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.414, allocations: 0 / 1.227 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.414, allocations: 3.984 kB / 1.227 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.4145, allocations: 401.3 kB / 1.227 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4145, allocations: 4 kB / 1.227 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.4147, allocations: 39.92 kB / 1.227 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001985/0.4149, allocations: 40.81 kB / 1.227 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.4149, allocations: 8 kB / 1.227 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.4159, allocations: 1.405 MB / 1.228 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.416, allocations: 0 / 1.228 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005078/0.4165, allocations: 405.1 kB / 1.229 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.4166, allocations: 132.7 kB / 1.229 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.4166, allocations: 0 / 1.229 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.4169, allocations: 11.98 kB / 1.229 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.4169, allocations: 19.92 kB / 1.229 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.417, allocations: 4 kB / 1.229 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001954/0.4172, allocations: 215.1 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4172, allocations: 0 / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003745/0.4175, allocations: 107.8 kB / 1.229 GB, free: 5.078 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007747/0.4183, allocations: 0.9449 MB / 1.23 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002522/0.4186, allocations: 165.8 kB / 1.23 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4186, allocations: 0 / 1.23 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.4189, allocations: 206.9 kB / 1.231 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009418/0.4198, allocations: 194.5 kB / 1.231 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.4231, allocations: 3.11 MB / 1.234 GB, free: 332 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.4234, allocations: 0.7918 MB / 1.235 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002404/0.4237, allocations: 63.23 kB / 1.235 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.4238, allocations: 103.4 kB / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of SimCode: time 1.803e-06/0.4238, allocations: 0 / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5394/0.9633, allocations: 8.436 MB / 1.243 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.9635, allocations: 227.4 kB / 1.243 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/3.135, allocations: 0 / 1.243 GB, free: 6.898 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)