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.001544/0.001545, allocations: 108 kB / 15.6 MB, free: 132 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.001848/0.001848, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.611/1.611, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.743/1.743, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001326/0.001326, allocations: 69.08 kB / 0.6716 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2417, allocations: 114.6 MB / 0.7835 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.0631/0.3048, allocations: 53.44 MB / 0.8357 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01754/0.3224, allocations: 11.42 MB / 0.8468 GB, free: 12.26 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002667/0.3251, allocations: 63.56 kB / 0.8469 GB, free: 12.2 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002534/0.3277, allocations: 0.7606 MB / 0.8476 GB, free: 11.43 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007852/0.3356, allocations: 2.141 MB / 0.8497 GB, free: 9.285 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003863/0.3395, allocations: 1.368 MB / 0.851 GB, free: 7.93 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006145/0.3456, allocations: 3.891 MB / 0.8548 GB, free: 4.031 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002012/0.3477, allocations: 1.287 MB / 0.8561 GB, free: 2.715 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003504/0.3512, allocations: 1.395 MB / 0.8575 GB, free: 1.32 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.3531, allocations: 1.085 MB / 0.8585 GB, free: 236 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002686/0.3533, allocations: 140 kB / 0.8586 GB, free: 96 kB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002871/0.3562, allocations: 1.041 MB / 0.8597 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000596/0.3568, allocations: 438.5 kB / 0.8601 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.3581, allocations: 0.8474 MB / 0.8609 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004658/0.3627, allocations: 2.555 MB / 0.8634 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.3628, allocations: 0 / 0.8634 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3628, allocations: 4 kB / 0.8634 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.722e-05/0.3628, allocations: 0 / 0.8634 GB, free: 11.2 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.003808/0.3666, allocations: 2.006 MB / 0.8654 GB, free: 9.141 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.3667, allocations: 16.03 kB / 0.8654 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001825/0.3669, allocations: 147.8 kB / 0.8655 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003477/0.3704, allocations: 0.5647 MB / 0.8661 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002707/0.3731, allocations: 1.332 MB / 0.8674 GB, free: 7.02 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/0.3733, allocations: 115.7 kB / 0.8675 GB, free: 6.898 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.3735, allocations: 91.98 kB / 0.8676 GB, free: 6.809 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00316/0.3767, allocations: 1.35 MB / 0.8689 GB, free: 5.426 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.3767, allocations: 4 kB / 0.8689 GB, free: 5.422 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.3768, allocations: 36 kB / 0.8689 GB, free: 5.387 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.798e-05/0.3769, allocations: 28 kB / 0.869 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003683/0.3806, allocations: 1.429 MB / 0.8704 GB, free: 3.93 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.008525/0.3891, allocations: 5.389 MB / 0.8756 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002947/0.3921, allocations: 1.074 MB / 0.8767 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.3937, allocations: 0.5958 MB / 0.8772 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009486/0.3946, allocations: 1.073 MB / 0.8783 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001856/0.3965, allocations: 0.6821 MB / 0.879 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 3.286e-06/0.3965, allocations: 0 / 0.879 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.00525/0.4018, allocations: 1.746 MB / 0.8807 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.4019, allocations: 59.97 kB / 0.8807 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/0.404, allocations: 1.405 MB / 0.8821 GB, free: 7.359 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.4042, allocations: 45.64 kB / 0.8821 GB, free: 7.309 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000618/0.4048, allocations: 0.6423 MB / 0.8828 GB, free: 6.656 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.4051, allocations: 205 kB / 0.883 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002982/0.4054, allocations: 170.4 kB / 0.8831 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4056, allocations: 338 kB / 0.8834 GB, free: 5.945 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.4072, allocations: 0.5484 MB / 0.884 GB, free: 5.398 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/0.409, allocations: 0.7574 MB / 0.8847 GB, free: 4.559 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003194/0.4122, allocations: 1.201 MB / 0.8859 GB, free: 3.293 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.4123, allocations: 0 / 0.8859 GB, free: 3.293 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00435/0.4166, allocations: 1.436 MB / 0.8873 GB, free: 1.848 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.4167, allocations: 4 kB / 0.8873 GB, free: 1.844 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.4167, allocations: 11.98 kB / 0.8873 GB, free: 1.832 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.4167, allocations: 8 kB / 0.8873 GB, free: 1.824 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.418, allocations: 244 kB / 0.8876 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.4181, allocations: 8 kB / 0.8876 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.4197, allocations: 202.8 kB / 0.8878 GB, free: 1.379 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.152e-05/0.4198, allocations: 39.97 kB / 0.8878 GB, free: 1.34 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.0007528/0.4206, allocations: 357.5 kB / 0.8881 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/0.4209, allocations: 146.2 kB / 0.8883 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003832/0.4247, allocations: 1.413 MB / 0.8897 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.4247, allocations: 12 kB / 0.8897 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4247, allocations: 0 / 0.8897 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003314/0.4281, allocations: 1.267 MB / 0.8909 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006405/0.4345, allocations: 2.953 MB / 0.8938 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.4345, allocations: 4 kB / 0.8938 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.4357, allocations: 199.8 kB / 0.894 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-05/0.4358, allocations: 4 kB / 0.894 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.848e-05/0.4358, allocations: 27.97 kB / 0.894 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/0.4359, allocations: 7.938 kB / 0.894 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/0.4359, allocations: 11.92 kB / 0.894 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006159/0.442, allocations: 2.223 MB / 0.8962 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/0.4432, allocations: 354.9 kB / 0.8965 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.4434, allocations: 12 kB / 0.8966 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/0.4448, allocations: 127.8 kB / 0.8967 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.445, allocations: 52.53 kB / 0.8967 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-05/0.4451, allocations: 39.89 kB / 0.8968 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001734/0.4468, allocations: 0.9905 MB / 0.8977 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4468, allocations: 0 / 0.8977 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001472/0.4483, allocations: 459.4 kB / 0.8982 GB, free: 6.508 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.006661/0.455, allocations: 3.119 MB / 0.9012 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004141/0.4591, allocations: 1.332 MB / 0.9025 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.4592, allocations: 0 / 0.9025 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001911/0.4611, allocations: 0.6558 MB / 0.9032 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004459/0.4656, allocations: 0.771 MB / 0.9039 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02645/0.492, allocations: 13.27 MB / 0.9169 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.4931, allocations: 1.225 MB / 0.9181 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001631/0.4948, allocations: 306.6 kB / 0.9184 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/0.4959, allocations: 0.5656 MB / 0.9189 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of SimCode: time 2.044e-06/0.4959, allocations: 0 / 0.9189 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4641/0.9599, allocations: 42.26 MB / 0.9602 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.819/9.779, allocations: 8.047 kB / 0.9602 GB, free: 119.6 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)