Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.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.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",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.461/1.461, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001215/0.001214, allocations: 178.4 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.4 MB / 0.5775 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.0009481/0.000948, allocations: 93.83 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 13.31 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2539, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.0493/0.3033, allocations: 62.37 MB / 0.9611 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03218/0.3355, allocations: 19.46 MB / 0.9801 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003776/0.3393, allocations: 75.44 kB / 0.9801 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004998/0.3444, allocations: 1.178 MB / 0.9813 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01315/0.3576, allocations: 3.059 MB / 0.9843 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01146/0.369, allocations: 3.17 MB / 0.9874 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007541/0.3766, allocations: 3.112 MB / 0.9904 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002878/0.3795, allocations: 1.454 MB / 0.9918 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003868/0.3834, allocations: 1.502 MB / 0.9933 GB, free: 288 kB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.3859, allocations: 1.027 MB / 0.9943 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003654/0.3863, allocations: 80 kB / 0.9944 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00362/0.3899, allocations: 1.256 MB / 0.9956 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005709/0.3905, allocations: 462.3 kB / 0.996 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0008904/0.3914, allocations: 468.5 kB / 0.9965 GB, free: 13 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00476/0.3962, allocations: 2.677 MB / 0.9991 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3962, allocations: 8 kB / 0.9991 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3962, allocations: 0 / 0.9991 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.542e-05/0.3963, allocations: 0 / 0.9991 GB, free: 10.3 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.005453/0.4018, allocations: 2.348 MB / 1.001 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.4018, allocations: 8.031 kB / 1.001 GB, free: 7.887 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003553/0.4022, allocations: 189.8 kB / 1.002 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006102/0.4083, allocations: 1.133 MB / 1.003 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004956/0.4133, allocations: 1.929 MB / 1.005 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001123/0.4145, allocations: 351.9 kB / 1.005 GB, free: 4.199 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003592/0.4148, allocations: 128 kB / 1.005 GB, free: 4.074 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004358/0.4192, allocations: 1.832 MB / 1.007 GB, free: 2.176 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.4192, allocations: 0 / 1.007 GB, free: 2.176 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/0.4194, allocations: 52 kB / 1.007 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.374e-05/0.4195, allocations: 28 kB / 1.007 GB, free: 2.098 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005654/0.4251, allocations: 1.918 MB / 1.009 GB, free: 176 kB / 0.6511 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.01451/0.4397, allocations: 7.774 MB / 1.016 GB, free: 7.91 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004853/0.4446, allocations: 1.477 MB / 1.018 GB, free: 6.426 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005898/0.4505, allocations: 3.429 MB / 1.021 GB, free: 2.691 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.4506, allocations: 35.12 kB / 1.021 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00104/0.4516, allocations: 218.8 kB / 1.021 GB, free: 2.434 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=63): time 7.333e-06/0.4517, allocations: 3.984 kB / 1.021 GB, free: 2.43 MB / 0.6667 GB Notification: Performance of matching and sorting (n=63): time 0.01287/0.4645, allocations: 3.001 MB / 1.024 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.4646, allocations: 63.91 kB / 1.024 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003753/0.4684, allocations: 1.971 MB / 1.026 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000245/0.4687, allocations: 41.7 kB / 1.026 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000916/0.4696, allocations: 0.9609 MB / 1.027 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003203/0.4699, allocations: 220.9 kB / 1.028 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.47, allocations: 20 kB / 1.028 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4702, allocations: 341.9 kB / 1.028 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002401/0.4726, allocations: 0.6772 MB / 1.029 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002673/0.4753, allocations: 1.03 MB / 1.03 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00236/0.4777, allocations: 0.7213 MB / 1.03 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.4777, allocations: 4 kB / 1.03 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007799/0.4855, allocations: 2.232 MB / 1.032 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001489/0.4871, allocations: 3.886 MB / 1.036 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/0.4871, allocations: 11.95 kB / 1.036 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.4883, allocations: 392.5 kB / 1.037 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.4899, allocations: 355.4 kB / 1.037 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/0.492, allocations: 0.9895 MB / 1.038 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/0.4945, allocations: 284.3 kB / 1.038 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/0.4947, allocations: 79.89 kB / 1.038 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.4947, allocations: 4 kB / 1.038 GB, free: 500 kB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00666/0.5014, allocations: 1.972 MB / 1.04 GB, free: 14.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/0.5014, allocations: 8 kB / 1.04 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.5025, allocations: 397.1 kB / 1.041 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.5039, allocations: 331.5 kB / 1.041 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.5061, allocations: 0.9972 MB / 1.042 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/0.5088, allocations: 264.3 kB / 1.042 GB, free: 12.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.5089, allocations: 75.91 kB / 1.042 GB, free: 12.43 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (110): * Single equations (assignments): 108 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001322/0.5103, allocations: 0.5202 MB / 1.043 GB, free: 11.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004233/0.5107, allocations: 201.5 kB / 1.043 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006542/0.5172, allocations: 2.003 MB / 1.045 GB, free: 9.688 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.5173, allocations: 11.95 kB / 1.045 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.5173, allocations: 0 / 1.045 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.5173, allocations: 3.984 kB / 1.045 GB, free: 9.672 MB / 0.698 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 postOpt removeSimpleEquations (simulation): time 0.008981/0.5263, allocations: 3.525 MB / 1.048 GB, free: 6.051 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.5264, allocations: 4 kB / 1.048 GB, free: 6.047 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.5275, allocations: 239.9 kB / 1.049 GB, free: 5.812 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/0.5287, allocations: 384.6 kB / 1.049 GB, free: 5.434 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.161e-05/0.5288, allocations: 31.92 kB / 1.049 GB, free: 5.402 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/0.5311, allocations: 1.009 MB / 1.05 GB, free: 4.367 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5311, allocations: 0 / 1.05 GB, free: 4.367 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007233/0.5383, allocations: 2.179 MB / 1.052 GB, free: 2.094 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001515/0.5399, allocations: 446.2 kB / 1.052 GB, free: 1.637 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002691/0.5402, allocations: 12 kB / 1.052 GB, free: 1.625 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/0.542, allocations: 235.7 kB / 1.053 GB, free: 1.395 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.5421, allocations: 44.5 kB / 1.053 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.5422, allocations: 51.95 kB / 1.053 GB, free: 1.301 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.4896/1.032, allocations: 1.358 MB / 1.054 GB, free: 145.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.122e-06/1.032, allocations: 3.031 kB / 1.054 GB, free: 145.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004039/1.036, allocations: 0.956 MB / 1.055 GB, free: 145.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (64): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.008161/1.044, allocations: 3.599 MB / 1.059 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008849/1.053, allocations: 2.601 MB / 1.061 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/1.053, allocations: 2.219 kB / 1.061 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003434/1.056, allocations: 0.8433 MB / 1.062 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005685/1.062, allocations: 0.8911 MB / 1.063 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/1.077, allocations: 11.43 MB / 1.074 GB, free: 135.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001754/1.078, allocations: 1.493 MB / 1.075 GB, free: 134.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003339/1.082, allocations: 0.496 MB / 1.076 GB, free: 134.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/1.083, allocations: 0.813 MB / 1.077 GB, free: 134.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.273e-06/1.083, allocations: 0 / 1.077 GB, free: 134.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08952/1.173, allocations: 57.27 MB / 1.133 GB, free: 89.84 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/1.173, allocations: 277.6 kB / 1.133 GB, free: 89.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.964/5.137, allocations: 0 / 1.133 GB, free: 89.48 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1)