Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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: translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008327/0.008327, allocations: 103.5 kB / 15.73 MB, free: 6.039 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.001828/0.001828, allocations: 190.2 kB / 16.67 MB, free: 5.973 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.607/1.607, allocations: 205.1 MB / 222.6 MB, free: 4.398 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.612/1.612, allocations: 251.7 MB / 0.5094 GB, free: 2.945 MB / 414.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.001659/0.001659, allocations: 67.91 kB / 0.7258 GB, free: 9.09 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2765, allocations: 104.7 MB / 0.828 GB, free: 296 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05334/0.3299, allocations: 53.48 MB / 0.8803 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01892/0.3488, allocations: 11.37 MB / 0.8914 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003672/0.3526, allocations: 55.69 kB / 0.8914 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.3555, allocations: 0.7801 MB / 0.8922 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008046/0.3635, allocations: 2.25 MB / 0.8944 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004384/0.368, allocations: 1.351 MB / 0.8957 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006573/0.3745, allocations: 3.901 MB / 0.8995 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002641/0.3772, allocations: 1.275 MB / 0.9007 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004318/0.3816, allocations: 1.434 MB / 0.9021 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002457/0.384, allocations: 1.081 MB / 0.9032 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005964/0.3847, allocations: 139.9 kB / 0.9033 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003676/0.3883, allocations: 1.045 MB / 0.9044 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009503/0.3893, allocations: 434.5 kB / 0.9048 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002372/0.3917, allocations: 0.8435 MB / 0.9056 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.6823/1.074, allocations: 2.569 MB / 0.9081 GB, free: 21.51 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/1.074, allocations: 0 / 0.9081 GB, free: 21.51 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.277e-06/1.074, allocations: 0.5625 kB / 0.9081 GB, free: 21.51 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.4e-05/1.074, allocations: 1 kB / 0.9081 GB, free: 21.51 MB / 0.7169 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.006299/1.08, allocations: 2.015 MB / 0.9101 GB, free: 20.55 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.909e-05/1.081, allocations: 9.531 kB / 0.9101 GB, free: 20.55 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004257/1.085, allocations: 0.5658 MB / 0.9106 GB, free: 20.47 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004018/1.089, allocations: 1.372 MB / 0.912 GB, free: 20.06 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002595/1.089, allocations: 129.9 kB / 0.9121 GB, free: 20.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002755/1.089, allocations: 93.34 kB / 0.9122 GB, free: 20.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004254/1.094, allocations: 1.344 MB / 0.9135 GB, free: 19.88 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/1.094, allocations: 1.641 kB / 0.9135 GB, free: 19.88 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/1.094, allocations: 42.69 kB / 0.9135 GB, free: 19.88 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.119e-05/1.094, allocations: 27.89 kB / 0.9136 GB, free: 19.88 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004537/1.098, allocations: 1.425 MB / 0.915 GB, free: 19.85 MB / 0.7169 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.01152/1.11, allocations: 5.34 MB / 0.9202 GB, free: 17.83 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003659/1.114, allocations: 1.069 MB / 0.9212 GB, free: 17.79 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001814/1.116, allocations: 0.5987 MB / 0.9218 GB, free: 17.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007231/1.116, allocations: 1.071 MB / 0.9228 GB, free: 16.55 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002073/1.118, allocations: 0.6674 MB / 0.9235 GB, free: 16.49 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 3.356e-06/1.118, allocations: 1.531 kB / 0.9235 GB, free: 16.49 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.006036/1.124, allocations: 1.753 MB / 0.9252 GB, free: 16.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/1.124, allocations: 62.5 kB / 0.9253 GB, free: 16.28 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/1.127, allocations: 1.402 MB / 0.9266 GB, free: 16.11 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001507/1.128, allocations: 42.98 kB / 0.9267 GB, free: 16.08 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007474/1.128, allocations: 0.6401 MB / 0.9273 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00028/1.129, allocations: 206 kB / 0.9275 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003718/1.129, allocations: 169.8 kB / 0.9277 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.129, allocations: 334.4 kB / 0.928 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/1.131, allocations: 0.5528 MB / 0.9285 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002028/1.133, allocations: 0.7569 MB / 0.9293 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00333/1.136, allocations: 1.195 MB / 0.9304 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.136, allocations: 1.438 kB / 0.9304 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004908/1.141, allocations: 1.436 MB / 0.9318 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/1.141, allocations: 8.016 kB / 0.9318 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/1.141, allocations: 4.969 kB / 0.9318 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.926e-05/1.141, allocations: 10.77 kB / 0.9319 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/1.143, allocations: 254.1 kB / 0.9321 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-05/1.143, allocations: 14.72 kB / 0.9321 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/1.145, allocations: 188.9 kB / 0.9323 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/1.145, allocations: 41.8 kB / 0.9323 GB, free: 14.8 MB / 0.7169 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.0009898/1.146, allocations: 354.8 kB / 0.9327 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003793/1.146, allocations: 144.6 kB / 0.9328 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004206/1.151, allocations: 1.416 MB / 0.9342 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-05/1.151, allocations: 13.52 kB / 0.9342 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.151, allocations: 1.312 kB / 0.9342 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003445/1.154, allocations: 1.267 MB / 0.9354 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007793/1.162, allocations: 2.943 MB / 0.9383 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/1.162, allocations: 2.562 kB / 0.9383 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/1.163, allocations: 209.7 kB / 0.9385 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.69e-05/1.163, allocations: 4.188 kB / 0.9385 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-05/1.163, allocations: 24.11 kB / 0.9385 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.667e-05/1.163, allocations: 8.688 kB / 0.9386 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/1.163, allocations: 2.75 kB / 0.9386 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006839/1.17, allocations: 2.23 MB / 0.9407 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/1.172, allocations: 352 kB / 0.9411 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/1.172, allocations: 14.19 kB / 0.9411 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/1.173, allocations: 119 kB / 0.9412 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/1.174, allocations: 57.72 kB / 0.9412 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/1.174, allocations: 36.08 kB / 0.9413 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002191/1.176, allocations: 0.9921 MB / 0.9423 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.91e-07/1.176, allocations: 0 / 0.9423 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002884/1.179, allocations: 459.8 kB / 0.9427 GB, free: 13.19 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.001618/1.18, allocations: 446.3 kB / 0.9431 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004392/1.185, allocations: 1.284 MB / 0.9444 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/1.185, allocations: 1.375 kB / 0.9444 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001938/1.187, allocations: 0.6466 MB / 0.945 GB, free: 13 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004989/1.192, allocations: 0.7793 MB / 0.9458 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006146/1.198, allocations: 2.631 MB / 0.9483 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009213/1.199, allocations: 1.232 MB / 0.9495 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001933/1.201, allocations: 300.4 kB / 0.9498 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/1.201, allocations: 124.9 kB / 0.9499 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of SimCode: time 1.803e-06/1.201, allocations: 0 / 0.9499 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of Templates: time 0.05934/1.261, allocations: 30.42 MB / 0.9796 GB, free: 6.242 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)