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.001399/0.001399, 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 1.07/1.07, allocations: 177.1 MB / 200.8 MB, free: 5.398 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.001242/0.001242, allocations: 164.5 kB / 257.4 MB, free: 13 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.3093/0.3093, allocations: 80.24 MB / 394.1 MB, free: 3.227 MB / 362.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.02125/0.02125, allocations: 4.798 MB / 482.2 MB, free: 71.79 MB / 410.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.974e-06/1.974e-06, allocations: 0 / 0.5673 GB, free: 4.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.314e-05, allocations: 2.312 kB / 0.5674 GB, free: 4.949 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValve): time 0.005662/0.005695, allocations: 4.04 MB / 0.5713 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004958/0.01065, allocations: 2.728 MB / 0.574 GB, free: 14.14 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005148/0.01117, allocations: 4 kB / 0.574 GB, free: 14.13 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.01263, allocations: 0.8277 MB / 0.5748 GB, free: 13.3 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.0146, allocations: 349.4 kB / 0.5751 GB, free: 12.96 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.01671, allocations: 0.6348 MB / 0.5757 GB, free: 12.32 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.01814, allocations: 0.9918 MB / 0.5767 GB, free: 11.32 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007678/0.01891, allocations: 393.5 kB / 0.5771 GB, free: 10.93 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008875/0.0198, allocations: 0.5337 MB / 0.5776 GB, free: 10.39 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005571/0.02035, allocations: 334.9 kB / 0.5779 GB, free: 10.06 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.02053, allocations: 76 kB / 0.578 GB, free: 9.988 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006983/0.02123, allocations: 315.5 kB / 0.5783 GB, free: 9.68 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.02139, allocations: 191.1 kB / 0.5785 GB, free: 9.492 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003645/0.02175, allocations: 283.1 kB / 0.5787 GB, free: 9.215 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.02298, allocations: 0.798 MB / 0.5795 GB, free: 8.414 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.02299, allocations: 4 kB / 0.5795 GB, free: 8.41 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.02299, allocations: 0 / 0.5795 GB, free: 8.41 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.02301, allocations: 3.938 kB / 0.5795 GB, free: 8.406 MB / 458.7 MB 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.002678/0.02569, allocations: 1.29 MB / 0.5808 GB, free: 7.059 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.02574, allocations: 8.031 kB / 0.5808 GB, free: 7.051 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009103/0.02665, allocations: 172.3 kB / 0.581 GB, free: 6.883 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007521/0.0274, allocations: 468.9 kB / 0.5814 GB, free: 6.395 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.02744, allocations: 41.31 kB / 0.5814 GB, free: 6.352 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.161e-05/0.02753, allocations: 60.38 kB / 0.5815 GB, free: 6.293 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009045/0.02843, allocations: 0.7473 MB / 0.5822 GB, free: 5.414 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.02846, allocations: 4.172 kB / 0.5822 GB, free: 5.41 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.647e-05/0.02852, allocations: 20.38 kB / 0.5823 GB, free: 5.391 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.02854, allocations: 19.94 kB / 0.5823 GB, free: 5.371 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005614/0.0291, allocations: 225.7 kB / 0.5825 GB, free: 5.152 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/0.03184, allocations: 1.863 MB / 0.5843 GB, free: 3.23 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009445/0.03278, allocations: 302.7 kB / 0.5846 GB, free: 2.926 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.03301, allocations: 134.8 kB / 0.5847 GB, free: 2.789 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004487/0.03346, allocations: 116.4 kB / 0.5848 GB, free: 2.672 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.03349, allocations: 45.83 kB / 0.5849 GB, free: 2.617 MB / 458.7 MB Notification: Performance of pre-optimization done (n=55): time 2.855e-06/0.03349, allocations: 0 / 0.5849 GB, free: 2.617 MB / 458.7 MB Notification: Performance of matching and sorting (n=59): time 0.002843/0.03634, allocations: 1.159 MB / 0.586 GB, free: 1.418 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.03645, allocations: 291.2 kB / 0.5863 GB, free: 1.066 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007683/0.03722, allocations: 0.6362 MB / 0.5869 GB, free: 424 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.03726, allocations: 41.7 kB / 0.5869 GB, free: 376 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.03749, allocations: 388.1 kB / 0.5873 GB, free: 15.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.03762, allocations: 210.1 kB / 0.5875 GB, free: 15.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.03778, allocations: 120 kB / 0.5876 GB, free: 15.65 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.03795, allocations: 0.5545 MB / 0.5882 GB, free: 15.09 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.03815, allocations: 93.23 kB / 0.5883 GB, free: 15 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.03853, allocations: 497.7 kB / 0.5887 GB, free: 14.39 MB / 474.7 MB 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.001402/0.03993, allocations: 0.7207 MB / 0.5894 GB, free: 13.65 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.03993, allocations: 0 / 0.5894 GB, free: 13.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000926/0.04086, allocations: 0.5198 MB / 0.5899 GB, free: 13.12 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.04088, allocations: 8 kB / 0.59 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.04089, allocations: 0 / 0.59 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004497/0.04134, allocations: 99.61 kB / 0.5901 GB, free: 13.01 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/0.04181, allocations: 135.8 kB / 0.5902 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.04395, allocations: 2.376 MB / 0.5925 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.04431, allocations: 24 kB / 0.5925 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.04435, allocations: 23.98 kB / 0.5925 GB, free: 10.34 MB / 474.7 MB 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.0002214/0.04457, allocations: 196.4 kB / 0.5927 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.0447, allocations: 99.56 kB / 0.5928 GB, free: 10.04 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.04587, allocations: 0.4962 MB / 0.5933 GB, free: 9.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.04588, allocations: 8 kB / 0.5933 GB, free: 9.512 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.04588, allocations: 0 / 0.5933 GB, free: 9.512 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.04589, allocations: 3.984 kB / 0.5933 GB, free: 9.508 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.04745, allocations: 0.9738 MB / 0.5943 GB, free: 8.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.04745, allocations: 112 / 0.5943 GB, free: 8.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006083/0.04806, allocations: 163.7 kB / 0.5944 GB, free: 8.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004214/0.04848, allocations: 107.6 kB / 0.5945 GB, free: 8.211 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/0.04852, allocations: 15.98 kB / 0.5945 GB, free: 8.195 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003502/0.05203, allocations: 5.972 MB / 0.6004 GB, free: 1.867 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.05203, allocations: 3.938 kB / 0.6004 GB, free: 1.863 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.0533, allocations: 0.7513 MB / 0.6011 GB, free: 1.086 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002758/0.05357, allocations: 127.4 kB / 0.6012 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-05/0.05366, allocations: 12 kB / 0.6013 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.054, allocations: 27.98 kB / 0.6013 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.05412, allocations: 48.34 kB / 0.6013 GB, free: 0.875 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.05415, allocations: 16 kB / 0.6013 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004903/0.05464, allocations: 446.9 kB / 0.6018 GB, free: 440 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.05464, allocations: 0 / 0.6018 GB, free: 440 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007801/0.05542, allocations: 231.8 kB / 0.602 GB, free: 208 kB / 474.7 MB 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.0003427/0.05576, allocations: 174.3 kB / 0.6022 GB, free: 24 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009708/0.05673, allocations: 0.5554 MB / 0.6027 GB, free: 15.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.05674, allocations: 320 / 0.6027 GB, free: 15.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007216/0.05746, allocations: 477.3 kB / 0.6032 GB, free: 14.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007138/0.05817, allocations: 203.6 kB / 0.6033 GB, free: 14.76 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.06061, allocations: 1.358 MB / 0.6047 GB, free: 13.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.06088, allocations: 327.4 kB / 0.605 GB, free: 13.01 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.06106, allocations: 68.47 kB / 0.605 GB, free: 12.94 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/0.06106, allocations: 0 / 0.605 GB, free: 12.94 MB / 490.7 MB Notification: Performance of Templates: time 0.1838/0.2449, allocations: 15.59 MB / 0.6203 GB, free: 132.8 MB / 490.7 MB " [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: 5.347296046093106]