Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.SimpleValve.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.0009915/0.0009915, allocations: 88.52 kB / 19.93 MB, free: 4.605 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.9516/0.9516, allocations: 177.1 MB / 200.2 MB, free: 5.938 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.001739/0.001739, allocations: 160 kB / 256.7 MB, free: 13.34 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.2868/0.2868, allocations: 80.26 MB / 393.4 MB, free: 2.434 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.02049/0.02049, allocations: 4.801 MB / 481.4 MB, free: 4.398 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.SimpleValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.SimpleValve") translateModel(OpenHPL.Examples.SimpleValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.SimpleValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.6456 GB, free: 108 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.865e-05, allocations: 2.281 kB / 0.6456 GB, free: 108 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValve): time 0.003919/0.003937, allocations: 3.719 MB / 0.6493 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002942/0.006879, allocations: 2.589 MB / 0.6518 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003099/0.007189, allocations: 4.531 kB / 0.6518 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000878/0.008067, allocations: 0.7838 MB / 0.6526 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0004568/0.008524, allocations: 346.5 kB / 0.6529 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009745/0.009498, allocations: 0.6359 MB / 0.6535 GB, free: 99.91 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005423/0.01004, allocations: 0.9801 MB / 0.6545 GB, free: 98.92 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000389/0.01043, allocations: 409.5 kB / 0.6549 GB, free: 98.5 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003905/0.01082, allocations: 0.5221 MB / 0.6554 GB, free: 97.98 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.01107, allocations: 338.9 kB / 0.6557 GB, free: 97.65 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.872e-05/0.01113, allocations: 72 kB / 0.6558 GB, free: 97.58 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.01148, allocations: 323.4 kB / 0.6561 GB, free: 97.26 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 7.743e-05/0.01156, allocations: 183.2 kB / 0.6563 GB, free: 97.08 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.01171, allocations: 283.1 kB / 0.6565 GB, free: 96.8 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000636/0.01234, allocations: 1.02 MB / 0.6575 GB, free: 95.78 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.01235, allocations: 0 / 0.6575 GB, free: 95.78 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.372e-06/0.01235, allocations: 0 / 0.6575 GB, free: 95.78 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.01236, allocations: 0 / 0.6575 GB, free: 95.78 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001229/0.01359, allocations: 1.186 MB / 0.6587 GB, free: 94.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.01363, allocations: 12.03 kB / 0.6587 GB, free: 94.53 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003244/0.01395, allocations: 124.3 kB / 0.6588 GB, free: 94.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.0144, allocations: 477.3 kB / 0.6593 GB, free: 93.92 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.01442, allocations: 37.38 kB / 0.6593 GB, free: 93.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.01448, allocations: 52.36 kB / 0.6594 GB, free: 93.83 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005323/0.01501, allocations: 0.819 MB / 0.6602 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.01502, allocations: 4.188 kB / 0.6602 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.189e-05/0.01506, allocations: 24.38 kB / 0.6602 GB, free: 92.87 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.01507, allocations: 15.94 kB / 0.6602 GB, free: 92.85 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004582/0.01552, allocations: 399.7 kB / 0.6606 GB, free: 92.46 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.01704, allocations: 1.659 MB / 0.6622 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.01751, allocations: 423.1 kB / 0.6626 GB, free: 90.33 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.01773, allocations: 198.3 kB / 0.6628 GB, free: 90.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003301/0.01806, allocations: 112.4 kB / 0.6629 GB, free: 90.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.01808, allocations: 51 kB / 0.6629 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=55): time 2.816e-06/0.01808, allocations: 0 / 0.6629 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59): time 0.002015/0.0201, allocations: 1.48 MB / 0.6644 GB, free: 88.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.02014, allocations: 295.2 kB / 0.6647 GB, free: 88.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000455/0.0206, allocations: 0.6486 MB / 0.6653 GB, free: 87.44 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.02062, allocations: 33.7 kB / 0.6653 GB, free: 87.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.02073, allocations: 341.2 kB / 0.6657 GB, free: 87.06 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.587e-05/0.0208, allocations: 218.1 kB / 0.6659 GB, free: 86.85 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.453e-05/0.02089, allocations: 106.3 kB / 0.666 GB, free: 86.74 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.87e-05/0.02095, allocations: 386.7 kB / 0.6663 GB, free: 86.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.02116, allocations: 177.2 kB / 0.6665 GB, free: 86.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.02144, allocations: 0.5344 MB / 0.667 GB, free: 85.55 MB / 0.5105 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: penstock.Vdot = penstock.Vdot_0 (discharge.Vdot_0 = penstock.Vdot_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: surgeTank.Vdot = surgeTank.Vdot_0 (intake.Vdot_0 - discharge.Vdot_0 = surgeTank.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.002825/0.02426, allocations: 1.643 MB / 0.6686 GB, free: 83.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.02426, allocations: 96 / 0.6686 GB, free: 83.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007397/0.025, allocations: 0.6693 MB / 0.6693 GB, free: 83.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.02502, allocations: 8 kB / 0.6693 GB, free: 83.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.02503, allocations: 0 / 0.6693 GB, free: 83.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000233/0.02526, allocations: 104.7 kB / 0.6694 GB, free: 83.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.02553, allocations: 131.8 kB / 0.6695 GB, free: 82.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.02669, allocations: 1.973 MB / 0.6715 GB, free: 80.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.02693, allocations: 27.98 kB / 0.6715 GB, free: 80.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.02696, allocations: 20 kB / 0.6715 GB, free: 80.85 MB / 0.5105 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: penstock.Vdot = penstock.Vdot_0 surgeTank.Vdot = surgeTank.Vdot_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001679/0.02712, allocations: 198.4 kB / 0.6717 GB, free: 80.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.333e-05/0.02719, allocations: 71.53 kB / 0.6718 GB, free: 80.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007088/0.0279, allocations: 0.6457 MB / 0.6724 GB, free: 79.92 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.0279, allocations: 8 kB / 0.6724 GB, free: 79.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.0279, allocations: 4 kB / 0.6724 GB, free: 79.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.02791, allocations: 7.984 kB / 0.6724 GB, free: 79.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009974/0.02891, allocations: 1.09 MB / 0.6735 GB, free: 78.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.02891, allocations: 3.938 kB / 0.6735 GB, free: 78.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/0.02927, allocations: 159.9 kB / 0.6736 GB, free: 78.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001965/0.02947, allocations: 104.7 kB / 0.6737 GB, free: 78.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.02949, allocations: 12 kB / 0.6737 GB, free: 78.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/0.03103, allocations: 4.487 MB / 0.6781 GB, free: 73.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.03103, allocations: 4.031 kB / 0.6781 GB, free: 73.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008864/0.03192, allocations: 0.9603 MB / 0.6791 GB, free: 72.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.03208, allocations: 115.5 kB / 0.6792 GB, free: 72.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/0.03213, allocations: 31.88 kB / 0.6792 GB, free: 72.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.03235, allocations: 16 kB / 0.6792 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.03243, allocations: 52.39 kB / 0.6793 GB, free: 72.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.03245, allocations: 19.98 kB / 0.6793 GB, free: 72.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003256/0.03277, allocations: 475 kB / 0.6797 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.03277, allocations: 0 / 0.6797 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005073/0.03328, allocations: 235.7 kB / 0.68 GB, free: 71.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (reservoir.m,intake.mdot,discharge.mdot,tail.m,surgeTank.m) * 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 (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003285/0.03361, allocations: 167 kB / 0.6801 GB, free: 71.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008191/0.03443, allocations: 0.6278 MB / 0.6807 GB, free: 70.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.03443, allocations: 0 / 0.6807 GB, free: 70.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005296/0.03496, allocations: 461.2 kB / 0.6812 GB, free: 70.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.03546, allocations: 187.2 kB / 0.6814 GB, free: 70.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.03678, allocations: 1.375 MB / 0.6827 GB, free: 68.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.03693, allocations: 327.4 kB / 0.683 GB, free: 68.58 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.03705, allocations: 64.47 kB / 0.6831 GB, free: 68.52 MB / 0.5105 GB Notification: Performance of SimCode: time 1.052e-06/0.03706, allocations: 0 / 0.6831 GB, free: 68.52 MB / 0.5105 GB Notification: Performance of Templates: time 0.01003/0.04708, allocations: 15.6 MB / 0.6983 GB, free: 53 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.SimpleValve.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.SimpleValve.pipe ; mkfifo OpenHPL_OpenHPL.Examples.SimpleValve.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.SimpleValve.pipe >> ../files/OpenHPL_OpenHPL.Examples.SimpleValve.sim & ./OpenHPL_OpenHPL.Examples.SimpleValve > OpenHPL_OpenHPL.Examples.SimpleValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.770774123258889]