Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",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.001192/0.001192, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 197 kB / 16.53 MB, free: 6.664 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.163/1.163, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.34/2.34, allocations: 437.1 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.89 kB / 0.8693 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4891/0.4905, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.04344/0.534, allocations: 53.47 MB / 1.07 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01397/0.548, allocations: 11.5 MB / 1.081 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/0.5498, allocations: 63.62 kB / 1.081 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001829/0.5517, allocations: 0.7489 MB / 1.082 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004892/0.5566, allocations: 2.168 MB / 1.084 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002937/0.5596, allocations: 1.367 MB / 1.085 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004046/0.5636, allocations: 3.926 MB / 1.089 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001626/0.5653, allocations: 1.275 MB / 1.09 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/0.5677, allocations: 1.399 MB / 1.092 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.5692, allocations: 1.085 MB / 1.093 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002862/0.5695, allocations: 140 kB / 1.093 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002077/0.5715, allocations: 1.041 MB / 1.094 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004208/0.572, allocations: 446.5 kB / 1.094 GB, free: 3.809 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.573, allocations: 0.8474 MB / 1.095 GB, free: 2.957 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002974/0.576, allocations: 2.551 MB / 1.097 GB, free: 408 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.576, allocations: 0 / 1.097 GB, free: 408 kB / 0.8419 GB Notification: Performance of FrontEnd: time 8.41e-07/0.576, allocations: 0 / 1.097 GB, free: 408 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.704e-05/0.576, allocations: 4 kB / 1.097 GB, free: 404 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002911/0.5789, allocations: 2.014 MB / 1.099 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.579, allocations: 12.03 kB / 1.099 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001501/0.5791, allocations: 147.8 kB / 1.1 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003207/0.5823, allocations: 0.5686 MB / 1.1 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.5841, allocations: 1.336 MB / 1.101 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.5842, allocations: 115.7 kB / 1.102 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.5844, allocations: 96 kB / 1.102 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002638/0.587, allocations: 1.358 MB / 1.103 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.5871, allocations: 4 kB / 1.103 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.424e-05/0.5872, allocations: 36 kB / 1.103 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/0.5872, allocations: 24 kB / 1.103 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003479/0.5907, allocations: 1.421 MB / 1.104 GB, free: 9.113 MB / 0.8575 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.006607/0.5973, allocations: 5.401 MB / 1.11 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/0.6, allocations: 1.074 MB / 1.111 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/0.6015, allocations: 0.5958 MB / 1.111 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006478/0.6021, allocations: 1.069 MB / 1.112 GB, free: 488 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001605/0.6037, allocations: 0.6784 MB / 1.113 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=60): time 2.564e-06/0.6037, allocations: 0 / 1.113 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60): time 0.004623/0.6084, allocations: 1.754 MB / 1.115 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.6084, allocations: 59.97 kB / 1.115 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.61, allocations: 1.409 MB / 1.116 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.61, allocations: 41.7 kB / 1.116 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/0.6105, allocations: 0.65 MB / 1.117 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.6107, allocations: 201.1 kB / 1.117 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/0.611, allocations: 162.5 kB / 1.117 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.6111, allocations: 334 kB / 1.118 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.6125, allocations: 0.5523 MB / 1.118 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.6141, allocations: 0.7632 MB / 1.119 GB, free: 9.742 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002893/0.617, allocations: 1.185 MB / 1.12 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6171, allocations: 0 / 1.12 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00342/0.6205, allocations: 1.444 MB / 1.121 GB, free: 7.035 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.6205, allocations: 8 kB / 1.121 GB, free: 7.027 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.6205, allocations: 4 kB / 1.121 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.6205, allocations: 8 kB / 1.121 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.6217, allocations: 252 kB / 1.122 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.6217, allocations: 19.91 kB / 1.122 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.623, allocations: 194.8 kB / 1.122 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.051e-05/0.6231, allocations: 39.97 kB / 1.122 GB, free: 6.52 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,onOff.pulseStart,$PRE.onOff.pulseStart,onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0004432/0.6235, allocations: 353.6 kB / 1.122 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.6238, allocations: 150.2 kB / 1.122 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003517/0.6273, allocations: 1.416 MB / 1.124 GB, free: 4.594 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.6273, allocations: 7.984 kB / 1.124 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6273, allocations: 4 kB / 1.124 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003001/0.6303, allocations: 1.255 MB / 1.125 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005174/0.6355, allocations: 2.973 MB / 1.128 GB, free: 236 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.6355, allocations: 0 / 1.128 GB, free: 236 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.6366, allocations: 211.8 kB / 1.128 GB, free: 24 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.6366, allocations: 4 kB / 1.128 GB, free: 20 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.015e-05/0.6367, allocations: 24.02 kB / 1.128 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.6367, allocations: 4 kB / 1.128 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-06/0.6367, allocations: 7.938 kB / 1.128 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005003/0.6417, allocations: 2.223 MB / 1.13 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/0.6422, allocations: 351 kB / 1.131 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.6424, allocations: 20.06 kB / 1.131 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.6436, allocations: 119.8 kB / 1.131 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.6437, allocations: 60.36 kB / 1.131 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.516e-05/0.6438, allocations: 31.97 kB / 1.131 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001201/0.645, allocations: 0.9947 MB / 1.132 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.645, allocations: 0 / 1.132 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00111/0.6462, allocations: 463.4 kB / 1.132 GB, free: 11.68 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,onOff.y,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005945/0.6521, allocations: 3.133 MB / 1.135 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003458/0.6556, allocations: 1.328 MB / 1.137 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6556, allocations: 384 / 1.137 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.6572, allocations: 0.6555 MB / 1.137 GB, free: 6.52 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/0.6602, allocations: 0.7705 MB / 1.138 GB, free: 5.777 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01973/0.6799, allocations: 13.3 MB / 1.151 GB, free: 7.941 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007683/0.6807, allocations: 1.225 MB / 1.152 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001289/0.682, allocations: 303.4 kB / 1.153 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007496/0.6828, allocations: 0.5656 MB / 1.153 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of SimCode: time 7.92e-07/0.6828, allocations: 0 / 1.153 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.612/2.295, allocations: 42.26 MB / 1.194 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/14.61, allocations: 2.344 kB / 1.194 GB, free: 12.05 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)