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.001114/0.001115, 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.001085/0.001085, allocations: 194.7 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.11/1.11, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.496/1.496, allocations: 292.3 MB / 0.5489 GB, free: 13.5 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.001345/0.001345, allocations: 68.44 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1883, allocations: 114.5 MB / 0.7835 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05245/0.2408, allocations: 53.44 MB / 0.8357 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.2567, allocations: 11.41 MB / 0.8468 GB, free: 12.39 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.2586, allocations: 67.56 kB / 0.8469 GB, free: 12.33 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002079/0.2607, allocations: 0.7489 MB / 0.8476 GB, free: 11.57 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005374/0.2661, allocations: 2.138 MB / 0.8497 GB, free: 9.426 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003357/0.2695, allocations: 1.383 MB / 0.851 GB, free: 8.055 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004805/0.2743, allocations: 3.887 MB / 0.8548 GB, free: 4.16 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001831/0.2761, allocations: 1.283 MB / 0.8561 GB, free: 2.848 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.2789, allocations: 1.399 MB / 0.8574 GB, free: 1.449 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/0.2805, allocations: 1.085 MB / 0.8585 GB, free: 368 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003356/0.2809, allocations: 140 kB / 0.8586 GB, free: 228 kB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.2834, allocations: 1.045 MB / 0.8597 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005018/0.2839, allocations: 434.5 kB / 0.8601 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.2852, allocations: 0.859 MB / 0.8609 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003756/0.289, allocations: 2.551 MB / 0.8634 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.289, allocations: 0 / 0.8634 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.362e-06/0.289, allocations: 0 / 0.8634 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7e-05/0.2891, allocations: 0 / 0.8634 GB, free: 11.33 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.004149/0.2932, allocations: 2.01 MB / 0.8654 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2933, allocations: 12.03 kB / 0.8654 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002246/0.2935, allocations: 143.8 kB / 0.8655 GB, free: 9.102 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003535/0.2971, allocations: 0.5763 MB / 0.8661 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/0.2994, allocations: 1.313 MB / 0.8674 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.2995, allocations: 123.7 kB / 0.8675 GB, free: 7.027 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.2997, allocations: 92 kB / 0.8676 GB, free: 6.938 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002966/0.3027, allocations: 1.35 MB / 0.8689 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.3027, allocations: 11.94 kB / 0.8689 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.3028, allocations: 36 kB / 0.8689 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.3028, allocations: 24 kB / 0.869 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003702/0.3066, allocations: 1.429 MB / 0.8704 GB, free: 4.055 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.007724/0.3143, allocations: 5.389 MB / 0.8756 GB, free: 14.41 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002915/0.3172, allocations: 1.078 MB / 0.8767 GB, free: 13.33 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/0.3188, allocations: 0.5982 MB / 0.8773 GB, free: 12.73 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000767/0.3196, allocations: 1.073 MB / 0.8783 GB, free: 11.42 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001835/0.3215, allocations: 0.6782 MB / 0.879 GB, free: 10.73 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=60): time 2.995e-06/0.3215, allocations: 0 / 0.879 GB, free: 10.73 MB / 0.7013 GB Notification: Performance of matching and sorting (n=60): time 0.005329/0.3268, allocations: 1.746 MB / 0.8807 GB, free: 8.973 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.3269, allocations: 63.89 kB / 0.8807 GB, free: 8.895 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/0.3289, allocations: 1.405 MB / 0.8821 GB, free: 7.48 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 9.581e-05/0.329, allocations: 41.7 kB / 0.8821 GB, free: 7.434 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005666/0.3296, allocations: 0.6423 MB / 0.8828 GB, free: 6.781 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.3298, allocations: 209 kB / 0.883 GB, free: 6.574 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002863/0.3301, allocations: 166.4 kB / 0.8831 GB, free: 6.406 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3302, allocations: 330 kB / 0.8834 GB, free: 6.078 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/0.3318, allocations: 0.5562 MB / 0.884 GB, free: 5.523 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.3336, allocations: 0.7645 MB / 0.8847 GB, free: 4.68 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003186/0.3368, allocations: 1.189 MB / 0.8859 GB, free: 3.426 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3368, allocations: 4 kB / 0.8859 GB, free: 3.422 MB / 0.7013 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003873/0.3407, allocations: 1.436 MB / 0.8873 GB, free: 1.977 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3407, allocations: 8 kB / 0.8873 GB, free: 1.969 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.3407, allocations: 4 kB / 0.8873 GB, free: 1.965 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.3408, allocations: 8 kB / 0.8873 GB, free: 1.957 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.3421, allocations: 251.9 kB / 0.8876 GB, free: 1.711 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/0.3421, allocations: 11.98 kB / 0.8876 GB, free: 1.699 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.3436, allocations: 190.8 kB / 0.8878 GB, free: 1.512 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.848e-05/0.3437, allocations: 43.97 kB / 0.8878 GB, free: 1.469 MB / 0.7013 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.0005737/0.3442, allocations: 357.5 kB / 0.8881 GB, free: 1.109 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.3445, allocations: 146.2 kB / 0.8883 GB, free: 0.9648 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003862/0.3483, allocations: 1.414 MB / 0.8897 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.3484, allocations: 19.98 kB / 0.8897 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3484, allocations: 0 / 0.8897 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003453/0.3518, allocations: 1.259 MB / 0.8909 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005859/0.3577, allocations: 2.945 MB / 0.8938 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.3577, allocations: 4.031 kB / 0.8938 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.3589, allocations: 211.7 kB / 0.894 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/0.3589, allocations: 11.98 kB / 0.894 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.879e-05/0.359, allocations: 23.97 kB / 0.894 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.359, allocations: 4.094 kB / 0.894 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.359, allocations: 11.88 kB / 0.894 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005989/0.365, allocations: 2.219 MB / 0.8962 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006336/0.3657, allocations: 359 kB / 0.8965 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.3659, allocations: 12 kB / 0.8966 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/0.3674, allocations: 127.8 kB / 0.8967 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.3675, allocations: 52.38 kB / 0.8967 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.09e-05/0.3676, allocations: 35.97 kB / 0.8968 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001527/0.3691, allocations: 0.9866 MB / 0.8977 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.11e-07/0.3691, allocations: 0 / 0.8977 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001292/0.3704, allocations: 463.4 kB / 0.8982 GB, free: 6.637 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.007247/0.3777, allocations: 3.12 MB / 0.9012 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005055/0.3828, allocations: 1.332 MB / 0.9025 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3828, allocations: 0 / 0.9025 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002095/0.3849, allocations: 0.648 MB / 0.9031 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003964/0.3889, allocations: 0.7818 MB / 0.9039 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02435/0.4132, allocations: 13.28 MB / 0.9169 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009294/0.4142, allocations: 1.221 MB / 0.9181 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001528/0.4157, allocations: 302.9 kB / 0.9184 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008567/0.4166, allocations: 0.5617 MB / 0.9189 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/0.4166, allocations: 0 / 0.9189 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.989/1.406, allocations: 42.26 MB / 0.9602 GB, free: 119.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.942/10.35, allocations: 11.25 kB / 0.9602 GB, free: 119.3 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/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)