Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.Pipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 88.22 kB / 20.43 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9699/0.9699, allocations: 177.1 MB / 200.8 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 164.3 kB / 257.4 MB, free: 12.99 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.3267/0.3267, allocations: 80.24 MB / 394.1 MB, free: 2.168 MB / 314.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo): time 0.02133/0.02133, allocations: 4.799 MB / 482.3 MB, free: 4 MB / 394.7 MB " [Timeout remaining time 180] Using package OpenHPL with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo) Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenHPL.Examples.Pipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.Pipes") translateModel(OpenHPL.Examples.Pipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.Pipes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5674 GB, free: 1.121 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.743e-05, allocations: 9.547 kB / 0.5674 GB, free: 1.113 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Pipes): time 0.003155/0.003183, allocations: 3.156 MB / 0.5704 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002403/0.005586, allocations: 1.816 MB / 0.5722 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.005764, allocations: 4 kB / 0.5722 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.006904, allocations: 0.5556 MB / 0.5728 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004287/0.007333, allocations: 254.1 kB / 0.573 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007766/0.00811, allocations: 338.9 kB / 0.5733 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005596/0.008669, allocations: 0.6805 MB / 0.574 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004552/0.009124, allocations: 314.3 kB / 0.5743 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003926/0.009517, allocations: 391 kB / 0.5747 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.009757, allocations: 239.2 kB / 0.5749 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.51e-05/0.009822, allocations: 56 kB / 0.5749 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003703/0.01019, allocations: 287.5 kB / 0.5752 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.672e-05/0.01028, allocations: 135.4 kB / 0.5754 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.01043, allocations: 199.4 kB / 0.5755 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006287/0.01106, allocations: 0.6462 MB / 0.5762 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.01106, allocations: 0 / 0.5762 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.32e-07/0.01107, allocations: 0 / 0.5762 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.01107, allocations: 0 / 0.5762 GB, free: 8.031 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001219/0.01229, allocations: 1.053 MB / 0.5772 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.01233, allocations: 8.031 kB / 0.5772 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003807/0.01271, allocations: 124.5 kB / 0.5773 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.01312, allocations: 391 kB / 0.5777 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.01314, allocations: 21.03 kB / 0.5777 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.01319, allocations: 40.36 kB / 0.5778 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/0.01362, allocations: 0.5658 MB / 0.5783 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.01363, allocations: 192 / 0.5783 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.01366, allocations: 12.38 kB / 0.5783 GB, free: 5.629 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.01367, allocations: 15.88 kB / 0.5783 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/0.01392, allocations: 151.8 kB / 0.5785 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.01528, allocations: 1.173 MB / 0.5796 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005334/0.01581, allocations: 171 kB / 0.5798 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.01598, allocations: 107.6 kB / 0.5799 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.016, allocations: 4 kB / 0.5799 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.01602, allocations: 41.39 kB / 0.5799 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/0.01603, allocations: 0 / 0.5799 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31): time 0.0004219/0.01645, allocations: 261.1 kB / 0.5802 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.676e-05/0.01655, allocations: 290.7 kB / 0.5805 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.01697, allocations: 0.526 MB / 0.581 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.017, allocations: 29.7 kB / 0.581 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.01715, allocations: 327.6 kB / 0.5813 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.48e-05/0.01721, allocations: 111.1 kB / 0.5814 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-05/0.01729, allocations: 91.8 kB / 0.5815 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.01744, allocations: 0.5313 MB / 0.582 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.621e-05/0.01752, allocations: 45.03 kB / 0.5821 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.01777, allocations: 484.4 kB / 0.5825 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.01817, allocations: 325.5 kB / 0.5828 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.01817, allocations: 0 / 0.5828 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003459/0.01851, allocations: 296.8 kB / 0.5831 GB, free: 320 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.01853, allocations: 14.44 kB / 0.5831 GB, free: 308 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.01854, allocations: 4.312 kB / 0.5831 GB, free: 304 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.01855, allocations: 11.94 kB / 0.5832 GB, free: 292 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.01877, allocations: 95.89 kB / 0.5833 GB, free: 196 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.01878, allocations: 4 kB / 0.5833 GB, free: 192 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.01895, allocations: 35.77 kB / 0.5833 GB, free: 156 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.01897, allocations: 16 kB / 0.5833 GB, free: 140 kB / 0.4948 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: Upstream.h = Upstream.h_0 Downstream.h = Downstream.h_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001512/0.01912, allocations: 184.5 kB / 0.5835 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.929e-05/0.01919, allocations: 63.62 kB / 0.5835 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.0195, allocations: 257.7 kB / 0.5838 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.01951, allocations: 11.98 kB / 0.5838 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01951, allocations: 0 / 0.5838 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01952, allocations: 3.984 kB / 0.5838 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008429/0.02036, allocations: 0.8332 MB / 0.5846 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.02037, allocations: 8.031 kB / 0.5846 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.02054, allocations: 79.89 kB / 0.5847 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.02055, allocations: 4 kB / 0.5847 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.02056, allocations: 8 kB / 0.5847 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.02057, allocations: 7.938 kB / 0.5847 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.02057, allocations: 11.88 kB / 0.5847 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004608/0.02103, allocations: 0.5271 MB / 0.5852 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.0211, allocations: 63.58 kB / 0.5853 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.062e-05/0.02115, allocations: 19.95 kB / 0.5853 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.02131, allocations: 19.98 kB / 0.5853 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.02135, allocations: 31.84 kB / 0.5854 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.02136, allocations: 12 kB / 0.5854 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002901/0.02165, allocations: 370.7 kB / 0.5857 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.02165, allocations: 0 / 0.5857 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004154/0.02206, allocations: 159.7 kB / 0.5859 GB, free: 13.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 3 (pipeExpanding.mdot,pipeConstant.mdot,pipeContracting.mdot) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 34 * 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 Backend phase and start with SimCode phase: time 0.0002955/0.02236, allocations: 174.2 kB / 0.5861 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003115/0.02267, allocations: 195.7 kB / 0.5862 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.02267, allocations: 0 / 0.5862 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.02278, allocations: 92.77 kB / 0.5863 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000729/0.0235, allocations: 145.8 kB / 0.5865 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.02496, allocations: 1.027 MB / 0.5875 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.02512, allocations: 238.5 kB / 0.5877 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.02522, allocations: 48.48 kB / 0.5877 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/0.02522, allocations: 0 / 0.5877 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of Templates: time 0.008704/0.03393, allocations: 7.437 MB / 0.595 GB, free: 3.93 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.Pipes.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.Pipes.pipe ; mkfifo OpenHPL_OpenHPL.Examples.Pipes.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.Pipes.pipe >> ../files/OpenHPL_OpenHPL.Examples.Pipes.sim & ./OpenHPL_OpenHPL.Examples.Pipes > OpenHPL_OpenHPL.Examples.Pipes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.694636256899685]