Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_8_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.001603/0.001603, allocations: 109.4 kB / 15.69 MB, free: 128 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.001825/0.001825, allocations: 189.6 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.732/1.732, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001484/0.001484, allocations: 65.56 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2341, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.06563/0.2998, allocations: 53.44 MB / 0.8358 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01902/0.3188, allocations: 11.41 MB / 0.847 GB, free: 12.19 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002763/0.3216, allocations: 67.56 kB / 0.847 GB, free: 12.12 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002835/0.3246, allocations: 0.7528 MB / 0.8478 GB, free: 11.37 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007182/0.3318, allocations: 2.141 MB / 0.8498 GB, free: 9.219 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004071/0.3359, allocations: 1.383 MB / 0.8512 GB, free: 7.848 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006049/0.342, allocations: 3.906 MB / 0.855 GB, free: 3.934 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002404/0.3444, allocations: 1.279 MB / 0.8563 GB, free: 2.625 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00396/0.3484, allocations: 1.414 MB / 0.8576 GB, free: 1.211 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002393/0.3508, allocations: 1.077 MB / 0.8587 GB, free: 132 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0007106/0.3516, allocations: 144 kB / 0.8588 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003807/0.3554, allocations: 1.041 MB / 0.8598 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008348/0.3563, allocations: 438.5 kB / 0.8603 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00201/0.3583, allocations: 0.8551 MB / 0.8611 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007045/0.3654, allocations: 2.586 MB / 0.8636 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.3654, allocations: 0 / 0.8636 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3654, allocations: 0 / 0.8636 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.151e-05/0.3655, allocations: 0 / 0.8636 GB, free: 11.06 MB / 0.6856 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.006058/0.3716, allocations: 2.014 MB / 0.8656 GB, free: 8.992 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.3717, allocations: 8.031 kB / 0.8656 GB, free: 8.984 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003097/0.372, allocations: 143.8 kB / 0.8657 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003634/0.3756, allocations: 0.5725 MB / 0.8663 GB, free: 8.262 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003027/0.3787, allocations: 1.387 MB / 0.8676 GB, free: 6.82 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/0.3789, allocations: 119.7 kB / 0.8678 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/0.3791, allocations: 92 kB / 0.8678 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00315/0.3823, allocations: 1.362 MB / 0.8692 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.3823, allocations: 0 / 0.8692 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.3824, allocations: 36 kB / 0.8692 GB, free: 5.176 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.742e-05/0.3825, allocations: 24 kB / 0.8692 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003879/0.3864, allocations: 1.429 MB / 0.8706 GB, free: 3.723 MB / 0.6856 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.01121/0.3976, allocations: 5.354 MB / 0.8759 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004174/0.4018, allocations: 1.064 MB / 0.8769 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.4035, allocations: 0.6099 MB / 0.8775 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008694/0.4044, allocations: 1.065 MB / 0.8785 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001839/0.4063, allocations: 0.6782 MB / 0.8792 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 6.573e-06/0.4063, allocations: 3.984 kB / 0.8792 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.005278/0.4116, allocations: 1.754 MB / 0.8809 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.4117, allocations: 63.95 kB / 0.881 GB, free: 8.594 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.4136, allocations: 1.405 MB / 0.8823 GB, free: 7.18 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.4138, allocations: 37.7 kB / 0.8824 GB, free: 7.137 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005708/0.4144, allocations: 0.6423 MB / 0.883 GB, free: 6.484 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/0.4146, allocations: 201 kB / 0.8832 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002969/0.4149, allocations: 170.4 kB / 0.8834 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.4151, allocations: 338 kB / 0.8837 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/0.4166, allocations: 0.5484 MB / 0.8842 GB, free: 5.23 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001788/0.4184, allocations: 0.7645 MB / 0.885 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003178/0.4216, allocations: 1.197 MB / 0.8861 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.4217, allocations: 4 kB / 0.8861 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004061/0.4257, allocations: 1.429 MB / 0.8875 GB, free: 1.684 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.4258, allocations: 12.03 kB / 0.8875 GB, free: 1.672 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.4258, allocations: 4 kB / 0.8876 GB, free: 1.668 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.4258, allocations: 8 kB / 0.8876 GB, free: 1.66 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.4271, allocations: 251.6 kB / 0.8878 GB, free: 1.414 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/0.4272, allocations: 15.94 kB / 0.8878 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.4287, allocations: 186.8 kB / 0.888 GB, free: 1.215 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.543e-05/0.4288, allocations: 43.97 kB / 0.888 GB, free: 1.172 MB / 0.7012 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.0006281/0.4295, allocations: 357.5 kB / 0.8884 GB, free: 0.8125 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.4297, allocations: 150.2 kB / 0.8885 GB, free: 0.6641 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005128/0.4349, allocations: 1.406 MB / 0.8899 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.4349, allocations: 7.938 kB / 0.8899 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.4349, allocations: 0 / 0.8899 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004698/0.4397, allocations: 1.267 MB / 0.8911 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006328/0.446, allocations: 2.957 MB / 0.894 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.4461, allocations: 3.938 kB / 0.894 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.4472, allocations: 204 kB / 0.8942 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.4472, allocations: 4 kB / 0.8942 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-05/0.4473, allocations: 31.97 kB / 0.8943 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.4473, allocations: 4 kB / 0.8943 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.4473, allocations: 7.875 kB / 0.8943 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005567/0.4529, allocations: 2.223 MB / 0.8964 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007061/0.4537, allocations: 359 kB / 0.8968 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/0.4539, allocations: 16 kB / 0.8968 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.4551, allocations: 115.8 kB / 0.8969 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.4552, allocations: 52.44 kB / 0.897 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.761e-05/0.4553, allocations: 35.95 kB / 0.897 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001352/0.4567, allocations: 0.9905 MB / 0.898 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4567, allocations: 0 / 0.898 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001281/0.458, allocations: 463.4 kB / 0.8984 GB, free: 6.348 MB / 0.7169 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.006455/0.4645, allocations: 3.12 MB / 0.9014 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00352/0.468, allocations: 1.278 MB / 0.9027 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.468, allocations: 0 / 0.9027 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.4698, allocations: 0.6556 MB / 0.9033 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003524/0.4733, allocations: 0.7772 MB / 0.9041 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02294/0.4963, allocations: 12.27 MB / 0.9161 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009671/0.4973, allocations: 1.221 MB / 0.9173 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001444/0.4988, allocations: 302.1 kB / 0.9176 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008367/0.4996, allocations: 0.5656 MB / 0.9181 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of SimCode: time 1.022e-06/0.4996, allocations: 0 / 0.9181 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4457/0.9454, allocations: 42.24 MB / 0.9594 GB, free: 120.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/12.12, allocations: 13.33 kB / 0.9594 GB, free: 120.7 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.csv --start-time 0 --stop-time 14400 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)