Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2") translateModel(IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.001511, allocations: 101.4 kB / 16.4 MB, free: 6.484 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.001654/0.001654, allocations: 195.8 kB / 17.34 MB, free: 5.762 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6932/0.6932, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.95 kB / 0.5577 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1383, allocations: 76.18 MB / 0.6321 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example2): time 0.02825/0.1665, allocations: 30.01 MB / 0.6614 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0155/0.1821, allocations: 11.74 MB / 0.6728 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.1837, allocations: 47.75 kB / 0.6729 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003818/0.1876, allocations: 1.483 MB / 0.6743 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00388/0.1915, allocations: 1.628 MB / 0.6759 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.1947, allocations: 1.464 MB / 0.6773 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008482/0.2032, allocations: 6.726 MB / 0.6839 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001975/0.2052, allocations: 1.392 MB / 0.6853 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003358/0.2086, allocations: 1.521 MB / 0.6868 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.2105, allocations: 1.117 MB / 0.6878 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002284/0.2107, allocations: 128 kB / 0.688 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.2133, allocations: 1.303 MB / 0.6892 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004876/0.2138, allocations: 0.5334 MB / 0.6898 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000997/0.2148, allocations: 0.9677 MB / 0.6907 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003968/0.2187, allocations: 3.042 MB / 0.6937 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2188, allocations: 11.94 kB / 0.6937 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2188, allocations: 0 / 0.6937 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.329e-05/0.2188, allocations: 0 / 0.6937 GB, free: 5.086 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004088/0.2229, allocations: 2.366 MB / 0.696 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.223, allocations: 8.031 kB / 0.696 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.2247, allocations: 389.2 kB / 0.6964 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003782/0.2285, allocations: 2.395 MB / 0.6987 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/0.2285, allocations: 66 kB / 0.6988 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.2287, allocations: 92 kB / 0.6989 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.2305, allocations: 1.009 MB / 0.6999 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.2305, allocations: 3.938 kB / 0.6999 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.612e-05/0.2306, allocations: 32 kB / 0.6999 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.2306, allocations: 20 kB / 0.6999 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.2323, allocations: 0.7532 MB / 0.7006 GB, free: 13.78 MB / 0.545 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.00625/0.2385, allocations: 5.235 MB / 0.7058 GB, free: 8.215 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.2398, allocations: 0.5631 MB / 0.7063 GB, free: 7.645 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006445/0.2405, allocations: 324.6 kB / 0.7066 GB, free: 7.324 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002334/0.2428, allocations: 1.662 MB / 0.7082 GB, free: 5.512 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007402/0.2436, allocations: 330.8 kB / 0.7086 GB, free: 5.176 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003274/0.2439, allocations: 59.36 kB / 0.7086 GB, free: 5.117 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 2.635e-06/0.2439, allocations: 0 / 0.7086 GB, free: 5.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.003233/0.2472, allocations: 1.239 MB / 0.7098 GB, free: 3.848 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.2472, allocations: 55.41 kB / 0.7099 GB, free: 3.781 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/0.2494, allocations: 1.865 MB / 0.7117 GB, free: 1.871 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.654e-05/0.2495, allocations: 41.7 kB / 0.7117 GB, free: 1.824 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006153/0.2501, allocations: 0.787 MB / 0.7125 GB, free: 1.027 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.2503, allocations: 146 kB / 0.7126 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003319/0.2506, allocations: 274.3 kB / 0.7129 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.2507, allocations: 353.9 kB / 0.7132 GB, free: 264 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008179/0.2515, allocations: 464.9 kB / 0.7137 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.2526, allocations: 0.8275 MB / 0.7145 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/0.2543, allocations: 1.161 MB / 0.7156 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.2543, allocations: 4 kB / 0.7156 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002944/0.2573, allocations: 1.596 MB / 0.7172 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.2573, allocations: 35.11 kB / 0.7172 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.2574, allocations: 8 kB / 0.7172 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006281/0.258, allocations: 197 kB / 0.7174 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006918/0.2587, allocations: 191.7 kB / 0.7176 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006748/0.2594, allocations: 0.7668 MB / 0.7183 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.2604, allocations: 64.02 kB / 0.7184 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.471e-05/0.2605, allocations: 51.97 kB / 0.7185 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001314/0.2619, allocations: 0.8613 MB / 0.7193 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009528/0.2628, allocations: 0.8262 MB / 0.7201 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001517/0.2643, allocations: 1.12 MB / 0.7212 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.519e-06/0.2644, allocations: 4 kB / 0.7212 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.00259/0.267, allocations: 1.584 MB / 0.7228 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.267, allocations: 37.69 kB / 0.7228 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.267, allocations: 8 kB / 0.7228 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002045/0.2672, allocations: 109.4 kB / 0.7229 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000652/0.2679, allocations: 191.7 kB / 0.7231 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.27, allocations: 2.356 MB / 0.7254 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.271, allocations: 76.12 kB / 0.7255 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.385e-05/0.2711, allocations: 48 kB / 0.7255 GB, free: 2.879 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002778/0.2714, allocations: 254.3 kB / 0.7257 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.2716, allocations: 173.8 kB / 0.7259 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/0.2736, allocations: 0.8999 MB / 0.7268 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.2737, allocations: 4 kB / 0.7268 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.2737, allocations: 0 / 0.7268 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001476/0.2752, allocations: 0.8881 MB / 0.7277 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003384/0.2785, allocations: 2.007 MB / 0.7296 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2786, allocations: 0 / 0.7296 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/0.279, allocations: 76 kB / 0.7297 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000279/0.2793, allocations: 132.7 kB / 0.7298 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.2794, allocations: 19.98 kB / 0.7298 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005672/0.2799, allocations: 0.7434 MB / 0.7306 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2799, allocations: 3.984 kB / 0.7306 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/0.2823, allocations: 1.237 MB / 0.7318 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005713/0.2828, allocations: 310.9 kB / 0.7321 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.283, allocations: 8 kB / 0.7321 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006795/0.2837, allocations: 43.95 kB / 0.7321 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.298e-05/0.2838, allocations: 31.95 kB / 0.7322 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.423e-05/0.2839, allocations: 24.05 kB / 0.7322 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001663/0.2855, allocations: 1.281 MB / 0.7334 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2855, allocations: 0 / 0.7334 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001956/0.2875, allocations: 0.8151 MB / 0.7342 GB, free: 9.676 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.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 (37): * Single equations (assignments): 31 * 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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009748/0.2885, allocations: 0.4979 MB / 0.7347 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003327/0.2918, allocations: 1.869 MB / 0.7365 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2918, allocations: 0 / 0.7365 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007749/0.2926, allocations: 345.2 kB / 0.7369 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/0.2958, allocations: 0.7908 MB / 0.7376 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005295/0.3011, allocations: 2.993 MB / 0.7406 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009209/0.302, allocations: 1.44 MB / 0.742 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001285/0.3033, allocations: 441.2 kB / 0.7424 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.3036, allocations: 139.4 kB / 0.7425 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of SimCode: time 4.3e-07/0.3036, allocations: 0 / 0.7425 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of Templates: time 0.3593/0.663, allocations: 34.13 MB / 0.7758 GB, free: 88.58 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe 2>&1)