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.001097/0.001097, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.001478/0.001478, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.748/1.748, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0007963/0.0007964, allocations: 11.97 kB / 0.6738 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.281, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.04778/0.3289, allocations: 49.25 MB / 0.8355 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01655/0.3455, allocations: 10.7 MB / 0.8459 GB, free: 15.75 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002905/0.3484, allocations: 51.69 kB / 0.846 GB, free: 15.7 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002237/0.3507, allocations: 0.5356 MB / 0.8465 GB, free: 15.16 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00542/0.3561, allocations: 1.683 MB / 0.8482 GB, free: 13.46 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003222/0.3594, allocations: 1.014 MB / 0.8492 GB, free: 12.46 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005844/0.3652, allocations: 4.303 MB / 0.8534 GB, free: 8.152 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001957/0.3672, allocations: 0.9388 MB / 0.8543 GB, free: 7.184 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002576/0.3698, allocations: 1.143 MB / 0.8554 GB, free: 6.035 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/0.3719, allocations: 0.976 MB / 0.8563 GB, free: 5.055 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001974/0.3721, allocations: 63.83 kB / 0.8564 GB, free: 4.996 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002326/0.3745, allocations: 0.6041 MB / 0.857 GB, free: 4.391 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003696/0.3749, allocations: 342.6 kB / 0.8573 GB, free: 4.055 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005585/0.3754, allocations: 332.9 kB / 0.8576 GB, free: 3.723 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.3781, allocations: 1.839 MB / 0.8594 GB, free: 1.879 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3781, allocations: 3.938 kB / 0.8594 GB, free: 1.875 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3781, allocations: 0 / 0.8594 GB, free: 1.875 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.496e-05/0.3781, allocations: 0 / 0.8594 GB, free: 1.875 MB / 0.67 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.003389/0.3815, allocations: 1.746 MB / 0.8611 GB, free: 76 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3816, allocations: 8.031 kB / 0.8611 GB, free: 68 kB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002009/0.3818, allocations: 143.6 kB / 0.8613 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003075/0.3849, allocations: 0.6262 MB / 0.8619 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002665/0.3876, allocations: 1.298 MB / 0.8632 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.3877, allocations: 115.7 kB / 0.8633 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.3879, allocations: 95.91 kB / 0.8634 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002899/0.3908, allocations: 1.389 MB / 0.8647 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.3908, allocations: 7.891 kB / 0.8647 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.391, allocations: 40 kB / 0.8648 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-05/0.391, allocations: 20 kB / 0.8648 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003616/0.3946, allocations: 1.499 MB / 0.8663 GB, free: 10.74 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.009169/0.4038, allocations: 5.394 MB / 0.8715 GB, free: 5.098 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00286/0.4067, allocations: 1.122 MB / 0.8726 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.4082, allocations: 0.6314 MB / 0.8732 GB, free: 3.332 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008214/0.409, allocations: 1.073 MB / 0.8743 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001646/0.4107, allocations: 0.7135 MB / 0.875 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 3.126e-06/0.4107, allocations: 0 / 0.875 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.004876/0.4156, allocations: 1.856 MB / 0.8768 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.4157, allocations: 63.89 kB / 0.8768 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/0.4175, allocations: 1.373 MB / 0.8782 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.4176, allocations: 37.7 kB / 0.8782 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005615/0.4182, allocations: 0.6461 MB / 0.8789 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.4184, allocations: 209 kB / 0.8791 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.4185, allocations: 12 kB / 0.8791 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4186, allocations: 337.9 kB / 0.8794 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.4202, allocations: 0.5914 MB / 0.88 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.4218, allocations: 0.7918 MB / 0.8807 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.4234, allocations: 0.5887 MB / 0.8813 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.4234, allocations: 4 kB / 0.8813 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003674/0.4271, allocations: 1.495 MB / 0.8828 GB, free: 9.16 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.4271, allocations: 8 kB / 0.8828 GB, free: 9.152 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.4271, allocations: 7.984 kB / 0.8828 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.4271, allocations: 12.44 kB / 0.8828 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.4283, allocations: 271.6 kB / 0.8831 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.4283, allocations: 8 kB / 0.8831 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.4299, allocations: 234.9 kB / 0.8833 GB, free: 8.629 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.469e-05/0.43, allocations: 43.97 kB / 0.8833 GB, free: 8.586 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.y,$PRE.onOff.pulseStart,onOff.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007194/0.4307, allocations: 361.5 kB / 0.8837 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.431, allocations: 142.2 kB / 0.8838 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003559/0.4345, allocations: 1.481 MB / 0.8853 GB, free: 6.594 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.4346, allocations: 12 kB / 0.8853 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4346, allocations: 0 / 0.8853 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002989/0.4376, allocations: 1.333 MB / 0.8866 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005987/0.4436, allocations: 3.02 MB / 0.8895 GB, free: 2.105 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.4436, allocations: 0 / 0.8895 GB, free: 2.105 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.4447, allocations: 223.8 kB / 0.8897 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.4447, allocations: 8 kB / 0.8897 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-05/0.4448, allocations: 23.97 kB / 0.8898 GB, free: 1.855 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/0.4448, allocations: 7.938 kB / 0.8898 GB, free: 1.848 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.4448, allocations: 8 kB / 0.8898 GB, free: 1.84 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005109/0.4499, allocations: 2.328 MB / 0.8921 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009944/0.451, allocations: 370.9 kB / 0.8924 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.4512, allocations: 15.98 kB / 0.8924 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.4524, allocations: 159.1 kB / 0.8926 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.4525, allocations: 52.48 kB / 0.8926 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.731e-05/0.4526, allocations: 39.97 kB / 0.8927 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001463/0.4541, allocations: 0.9709 MB / 0.8936 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4541, allocations: 0 / 0.8936 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001345/0.4554, allocations: 451.4 kB / 0.894 GB, free: 13.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00637/0.4618, allocations: 3.172 MB / 0.8971 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003536/0.4654, allocations: 1.348 MB / 0.8985 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.4654, allocations: 0 / 0.8985 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/0.467, allocations: 0.6948 MB / 0.8991 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003923/0.471, allocations: 0.7206 MB / 0.8998 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02079/0.4918, allocations: 10.11 MB / 0.9097 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008253/0.4927, allocations: 1.217 MB / 0.9109 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001578/0.4942, allocations: 306.1 kB / 0.9112 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00081/0.4951, allocations: 0.5578 MB / 0.9117 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of SimCode: time 7.12e-07/0.4951, allocations: 0 / 0.9117 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5542/1.049, allocations: 40.99 MB / 0.9518 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/1.049, allocations: 227.3 kB / 0.952 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.013/4.062, allocations: 0 / 0.952 GB, free: 122.9 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) Environment - environmentSimulation: