Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3") translateModel(IBPSA.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 108.9 kB / 17.02 MB, free: 6.121 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.001391/0.001391, allocations: 196.1 kB / 17.97 MB, free: 5.211 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.254/1.254, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6965/0.6965, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.89 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3237, allocations: 76.15 MB / 0.5576 GB, free: 36.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example3): time 0.02597/0.3497, allocations: 33.16 MB / 0.5899 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0151/0.3649, allocations: 12.3 MB / 0.6019 GB, free: 4.117 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.367, allocations: 50.12 kB / 0.602 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007607/0.3746, allocations: 3.976 MB / 0.6059 GB, free: 1.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004958/0.3796, allocations: 1.63 MB / 0.6075 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004028/0.3836, allocations: 1.453 MB / 0.6089 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01095/0.3946, allocations: 7.68 MB / 0.6164 GB, free: 8.207 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003038/0.3977, allocations: 2.102 MB / 0.6184 GB, free: 6.074 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004237/0.4019, allocations: 1.88 MB / 0.6203 GB, free: 4.191 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/0.4042, allocations: 1.408 MB / 0.6217 GB, free: 2.777 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002703/0.4045, allocations: 148 kB / 0.6218 GB, free: 2.633 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00324/0.4077, allocations: 1.338 MB / 0.6231 GB, free: 1.293 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006162/0.4084, allocations: 0.5955 MB / 0.6237 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.4098, allocations: 1.193 MB / 0.6248 GB, free: 15.49 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004564/0.4144, allocations: 3.497 MB / 0.6283 GB, free: 11.99 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.4144, allocations: 0 / 0.6283 GB, free: 11.99 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4144, allocations: 0 / 0.6283 GB, free: 11.99 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.32e-05/0.4144, allocations: 0 / 0.6283 GB, free: 11.99 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.004306/0.4187, allocations: 2.795 MB / 0.631 GB, free: 9.113 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.4188, allocations: 8.031 kB / 0.631 GB, free: 9.105 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/0.4206, allocations: 432.7 kB / 0.6314 GB, free: 8.68 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004359/0.4249, allocations: 2.712 MB / 0.6341 GB, free: 5.898 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.408e-05/0.425, allocations: 78 kB / 0.6341 GB, free: 5.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.4252, allocations: 112 kB / 0.6342 GB, free: 5.711 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.4274, allocations: 1.312 MB / 0.6355 GB, free: 4.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.4274, allocations: 11.94 kB / 0.6355 GB, free: 4.309 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.73e-05/0.4275, allocations: 44 kB / 0.6356 GB, free: 4.266 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.4275, allocations: 31.92 kB / 0.6356 GB, free: 4.234 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.4295, allocations: 1.019 MB / 0.6366 GB, free: 3.215 MB / 478.1 MB 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.008249/0.4378, allocations: 6.895 MB / 0.6433 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.4391, allocations: 0.5941 MB / 0.6439 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007023/0.4398, allocations: 397.9 kB / 0.6443 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002602/0.4424, allocations: 1.759 MB / 0.646 GB, free: 9.004 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007289/0.4431, allocations: 363 kB / 0.6464 GB, free: 8.637 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003677/0.4435, allocations: 95.17 kB / 0.6464 GB, free: 8.543 MB / 494.1 MB Notification: Performance of pre-optimization done (n=44): time 1.944e-06/0.4435, allocations: 0 / 0.6464 GB, free: 8.543 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.003321/0.4469, allocations: 1.367 MB / 0.6478 GB, free: 7.145 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.4469, allocations: 63.34 kB / 0.6478 GB, free: 7.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002748/0.4497, allocations: 2.364 MB / 0.6502 GB, free: 4.688 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.65e-05/0.4498, allocations: 41.7 kB / 0.6502 GB, free: 4.641 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007948/0.4506, allocations: 0.9842 MB / 0.6512 GB, free: 3.645 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.4507, allocations: 165.8 kB / 0.6513 GB, free: 3.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003621/0.4511, allocations: 298.5 kB / 0.6516 GB, free: 3.184 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4512, allocations: 357.9 kB / 0.6519 GB, free: 2.828 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008518/0.4521, allocations: 0.5056 MB / 0.6524 GB, free: 2.316 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.4533, allocations: 0.9814 MB / 0.6534 GB, free: 1.117 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/0.4551, allocations: 1.347 MB / 0.6547 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.4551, allocations: 4 kB / 0.6547 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003167/0.4583, allocations: 1.807 MB / 0.6565 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/0.4583, allocations: 37.64 kB / 0.6565 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.4584, allocations: 12 kB / 0.6565 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000636/0.459, allocations: 184.7 kB / 0.6567 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000784/0.4598, allocations: 231.6 kB / 0.6569 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006281/0.4604, allocations: 0.7699 MB / 0.6577 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.4617, allocations: 72.02 kB / 0.6577 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.4618, allocations: 55.98 kB / 0.6578 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001539/0.4633, allocations: 1.018 MB / 0.6588 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001086/0.4644, allocations: 0.9694 MB / 0.6597 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001657/0.4661, allocations: 1.299 MB / 0.661 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.791e-06/0.4661, allocations: 8 kB / 0.661 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.002821/0.4689, allocations: 1.787 MB / 0.6628 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.469, allocations: 41.86 kB / 0.6628 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.469, allocations: 12 kB / 0.6628 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002268/0.4692, allocations: 124.7 kB / 0.6629 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007108/0.4699, allocations: 227.6 kB / 0.6631 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/0.4721, allocations: 2.329 MB / 0.6654 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.4733, allocations: 79.89 kB / 0.6655 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.94e-05/0.4734, allocations: 56.05 kB / 0.6655 GB, free: 3.891 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 114 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003118/0.4738, allocations: 252.8 kB / 0.6658 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/0.474, allocations: 213.2 kB / 0.666 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/0.4762, allocations: 1.029 MB / 0.667 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.4762, allocations: 7.984 kB / 0.667 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.4762, allocations: 4 kB / 0.667 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00151/0.4777, allocations: 0.9623 MB / 0.6679 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003885/0.4816, allocations: 2.304 MB / 0.6702 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.4816, allocations: 0 / 0.6702 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004753/0.4821, allocations: 95.97 kB / 0.6703 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003004/0.4824, allocations: 120.7 kB / 0.6704 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/0.4825, allocations: 15.98 kB / 0.6704 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000563/0.483, allocations: 0.7396 MB / 0.6711 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4831, allocations: 0 / 0.6711 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.4855, allocations: 1.413 MB / 0.6725 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007137/0.4863, allocations: 354.4 kB / 0.6729 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.4865, allocations: 8 kB / 0.6729 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007249/0.4872, allocations: 51.86 kB / 0.6729 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.4873, allocations: 40.38 kB / 0.673 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/0.4874, allocations: 19.98 kB / 0.673 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00202/0.4894, allocations: 1.619 MB / 0.6746 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4894, allocations: 0 / 0.6746 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00225/0.4917, allocations: 0.9438 MB / 0.6755 GB, free: 9.473 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * 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 (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001033/0.4927, allocations: 0.5165 MB / 0.676 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003283/0.496, allocations: 2.013 MB / 0.6779 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.496, allocations: 0 / 0.6779 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007133/0.4968, allocations: 347.3 kB / 0.6783 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003339/0.5001, allocations: 0.9777 MB / 0.6792 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00628/0.5064, allocations: 3.646 MB / 0.6828 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.5076, allocations: 1.679 MB / 0.6844 GB, free: 252 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001639/0.5093, allocations: 0.5405 MB / 0.685 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/0.5096, allocations: 159.3 kB / 0.6851 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of SimCode: time 2.475e-06/0.5096, allocations: 0 / 0.6851 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of Templates: time 0.0593/0.5689, allocations: 39.41 MB / 0.7236 GB, free: 8.594 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe 2>&1)