Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1") translateModel(IBPSA.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001354, allocations: 110.7 kB / 17.04 MB, free: 5.809 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.001298/0.001298, allocations: 196 kB / 17.98 MB, free: 5.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7067/0.7067, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 60.36 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3174, allocations: 76.14 MB / 0.5576 GB, free: 36.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example1v1): time 0.05778/0.3752, allocations: 72.72 MB / 0.6286 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02685/0.4021, allocations: 18.8 MB / 0.6469 GB, free: 8.844 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003429/0.4056, allocations: 99.44 kB / 0.647 GB, free: 8.746 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008609/0.4142, allocations: 4.248 MB / 0.6512 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006763/0.421, allocations: 2.424 MB / 0.6536 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005243/0.4263, allocations: 2.091 MB / 0.6556 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01394/0.4402, allocations: 10.85 MB / 0.6662 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008165/0.4484, allocations: 6.133 MB / 0.6722 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006906/0.4554, allocations: 3.272 MB / 0.6754 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004345/0.4597, allocations: 2.54 MB / 0.6779 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0009934/0.4608, allocations: 260 kB / 0.6781 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004156/0.4649, allocations: 1.545 MB / 0.6796 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001404/0.4664, allocations: 0.899 MB / 0.6805 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003623/0.47, allocations: 1.947 MB / 0.6824 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007792/0.4778, allocations: 5.315 MB / 0.6876 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4778, allocations: 4 kB / 0.6876 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4778, allocations: 0 / 0.6876 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000182/0.478, allocations: 0 / 0.6876 GB, free: 15.07 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.009651/0.4877, allocations: 4.338 MB / 0.6918 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4877, allocations: 8.031 kB / 0.6918 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003418/0.4912, allocations: 0.6744 MB / 0.6925 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007922/0.4991, allocations: 3.785 MB / 0.6962 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.4993, allocations: 135.2 kB / 0.6963 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005229/0.4998, allocations: 184 kB / 0.6965 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004681/0.5045, allocations: 2.359 MB / 0.6988 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.197e-05/0.5046, allocations: 3.938 kB / 0.6988 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00023/0.5048, allocations: 72 kB / 0.6989 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/0.5048, allocations: 40 kB / 0.6989 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003903/0.5088, allocations: 1.911 MB / 0.7008 GB, free: 1.254 MB / 0.5294 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.01495/0.5237, allocations: 11.48 MB / 0.712 GB, free: 5.266 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002816/0.5266, allocations: 1.342 MB / 0.7133 GB, free: 3.918 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.5282, allocations: 1.005 MB / 0.7143 GB, free: 2.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006667/0.5349, allocations: 3.728 MB / 0.7179 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001497/0.5364, allocations: 0.7701 MB / 0.7187 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001292/0.5377, allocations: 242.7 kB / 0.7189 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=94): time 4.358e-06/0.5377, allocations: 0 / 0.7189 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94): time 0.01237/0.5501, allocations: 4.235 MB / 0.723 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.5502, allocations: 60.41 kB / 0.7231 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007379/0.5576, allocations: 3.455 MB / 0.7265 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003242/0.5579, allocations: 61.64 kB / 0.7265 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002094/0.5601, allocations: 1.564 MB / 0.7281 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005321/0.5606, allocations: 343.2 kB / 0.7284 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/0.5617, allocations: 459.4 kB / 0.7288 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.5618, allocations: 301.1 kB / 0.7291 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/0.5635, allocations: 0.8722 MB / 0.73 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002223/0.5658, allocations: 1.667 MB / 0.7316 GB, free: 412 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003607/0.5694, allocations: 2.267 MB / 0.7338 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/0.5694, allocations: 8 kB / 0.7338 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.007176/0.5766, allocations: 3.334 MB / 0.7371 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.364e-05/0.5767, allocations: 45.69 kB / 0.7371 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.481e-05/0.5767, allocations: 16 kB / 0.7371 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002521/0.5792, allocations: 0.689 MB / 0.7378 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.5807, allocations: 357.2 kB / 0.7381 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/0.5826, allocations: 1.897 MB / 0.74 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/0.5849, allocations: 120.3 kB / 0.7401 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002289/0.5851, allocations: 95.95 kB / 0.7402 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002845/0.588, allocations: 1.581 MB / 0.7417 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002095/0.5901, allocations: 1.649 MB / 0.7433 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003259/0.5934, allocations: 2.21 MB / 0.7455 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.69e-05/0.5934, allocations: 8 kB / 0.7455 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.277/0.8704, allocations: 3.207 MB / 0.7486 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.699e-05/0.8705, allocations: 43.45 kB / 0.7487 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-05/0.8705, allocations: 17.5 kB / 0.7487 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.8716, allocations: 471.4 kB / 0.7492 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.873, allocations: 348.4 kB / 0.7495 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00655/0.8795, allocations: 6.317 MB / 0.7557 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/0.8818, allocations: 146.6 kB / 0.7558 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/0.882, allocations: 90.81 kB / 0.7559 GB, free: 159.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 164 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000441/0.8824, allocations: 299.8 kB / 0.7562 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005081/0.8829, allocations: 332.6 kB / 0.7565 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004867/0.8878, allocations: 2.461 MB / 0.7589 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.8879, allocations: 17.22 kB / 0.7589 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.8879, allocations: 0.7969 kB / 0.7589 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00352/0.8914, allocations: 2.075 MB / 0.7609 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008846/0.9002, allocations: 4.582 MB / 0.7654 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.9003, allocations: 0.75 kB / 0.7654 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000907/0.9012, allocations: 181.7 kB / 0.7656 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/0.9023, allocations: 475.3 kB / 0.766 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.9024, allocations: 32.72 kB / 0.7661 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/0.9039, allocations: 1.851 MB / 0.7679 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.9039, allocations: 1.188 kB / 0.7679 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005915/0.9099, allocations: 3.181 MB / 0.771 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/0.9112, allocations: 0.5263 MB / 0.7715 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005851/0.9118, allocations: 25.05 kB / 0.7715 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/0.9134, allocations: 79.17 kB / 0.7716 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003294/0.9137, allocations: 82.91 kB / 0.7717 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001695/0.9139, allocations: 49 kB / 0.7717 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00686/0.9208, allocations: 2.339 MB / 0.774 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.81e-07/0.9208, allocations: 0 / 0.774 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005207/0.926, allocations: 1.508 MB / 0.7755 GB, free: 151.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001698/0.9277, allocations: 0.5959 MB / 0.7761 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006942/0.9347, allocations: 3.724 MB / 0.7797 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.9347, allocations: 1.094 kB / 0.7797 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001639/0.9364, allocations: 0.8055 MB / 0.7805 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005343/0.9417, allocations: 1.45 MB / 0.7819 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.952, allocations: 5.936 MB / 0.7877 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002173/0.9541, allocations: 2.242 MB / 0.7899 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002862/0.957, allocations: 0.8249 MB / 0.7907 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000617/0.9577, allocations: 247.3 kB / 0.7909 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of SimCode: time 8.42e-07/0.9577, allocations: 0 / 0.7909 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.07798/1.036, allocations: 60.22 MB / 0.8497 GB, free: 85.39 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe 2>&1)