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.001768/0.001768, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.512/1.512, allocations: 177.1 MB / 199.4 MB, free: 5.953 MB / 186.7 MB " [Timeout remaining time 178] 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.002068/0.002068, allocations: 160.5 kB / 256 MB, free: 13.35 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.48/0.48, allocations: 80.26 MB / 392.6 MB, free: 2.426 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.03908/0.03908, allocations: 4.789 MB / 480.6 MB, free: 4.402 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.322e-06/1.322e-06, allocations: 0 / 0.6457 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.366e-05, allocations: 6.938 kB / 0.6457 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValve): time 0.003441/0.003464, allocations: 3.727 MB / 0.6493 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003129/0.006593, allocations: 2.575 MB / 0.6518 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000251/0.006844, allocations: 7.938 kB / 0.6518 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.00797, allocations: 0.7884 MB / 0.6526 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0005621/0.008532, allocations: 338.8 kB / 0.6529 GB, free: 99.76 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.009737, allocations: 0.6377 MB / 0.6535 GB, free: 99.12 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005829/0.01032, allocations: 0.9879 MB / 0.6545 GB, free: 98.13 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004072/0.01073, allocations: 405.4 kB / 0.6549 GB, free: 97.72 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004331/0.01116, allocations: 0.5182 MB / 0.6554 GB, free: 97.2 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/0.01148, allocations: 342.9 kB / 0.6557 GB, free: 96.86 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.234e-05/0.01158, allocations: 76 kB / 0.6558 GB, free: 96.79 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000433/0.01201, allocations: 311.5 kB / 0.6561 GB, free: 96.48 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.01211, allocations: 187.2 kB / 0.6563 GB, free: 96.3 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.01232, allocations: 291.1 kB / 0.6566 GB, free: 96.02 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0007691/0.01309, allocations: 1.012 MB / 0.6575 GB, free: 95 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.0131, allocations: 0 / 0.6575 GB, free: 95 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.042e-06/0.0131, allocations: 4 kB / 0.6575 GB, free: 95 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.01311, allocations: 0 / 0.6575 GB, free: 95 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.00186/0.01497, allocations: 1.183 MB / 0.6587 GB, free: 93.76 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.015, allocations: 8.031 kB / 0.6587 GB, free: 93.75 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005411/0.01554, allocations: 132.3 kB / 0.6588 GB, free: 93.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005638/0.01611, allocations: 469.3 kB / 0.6593 GB, free: 93.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.01613, allocations: 41.31 kB / 0.6593 GB, free: 93.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.378e-05/0.0162, allocations: 48.38 kB / 0.6594 GB, free: 93.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007398/0.01694, allocations: 0.823 MB / 0.6602 GB, free: 92.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.01696, allocations: 192 / 0.6602 GB, free: 92.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.117e-05/0.017, allocations: 24.38 kB / 0.6602 GB, free: 92.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.01701, allocations: 15.94 kB / 0.6602 GB, free: 92.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006494/0.01766, allocations: 403.6 kB / 0.6606 GB, free: 91.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.01975, allocations: 1.663 MB / 0.6622 GB, free: 89.97 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006077/0.02036, allocations: 429.3 kB / 0.6626 GB, free: 89.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.02067, allocations: 206.3 kB / 0.6628 GB, free: 89.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005352/0.02121, allocations: 120.4 kB / 0.6629 GB, free: 89.22 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.02123, allocations: 43 kB / 0.663 GB, free: 89.17 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=55): time 1.573e-06/0.02123, allocations: 0 / 0.663 GB, free: 89.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59): time 0.00276/0.02399, allocations: 1.48 MB / 0.6644 GB, free: 87.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.02405, allocations: 291.2 kB / 0.6647 GB, free: 87.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005968/0.02465, allocations: 0.6408 MB / 0.6653 GB, free: 86.65 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.02468, allocations: 41.7 kB / 0.6654 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.02482, allocations: 337.2 kB / 0.6657 GB, free: 86.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.435e-05/0.0249, allocations: 218.1 kB / 0.6659 GB, free: 86.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.02503, allocations: 110.3 kB / 0.666 GB, free: 85.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.123e-05/0.0251, allocations: 386.7 kB / 0.6664 GB, free: 85.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.02541, allocations: 177.2 kB / 0.6665 GB, free: 85.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003983/0.02581, allocations: 0.5344 MB / 0.6671 GB, free: 84.75 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.005003/0.03081, allocations: 1.635 MB / 0.6687 GB, free: 83.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.03081, allocations: 7.938 kB / 0.6687 GB, free: 83.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001085/0.0319, allocations: 0.6616 MB / 0.6693 GB, free: 82.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.03191, allocations: 6.5 kB / 0.6693 GB, free: 82.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.03192, allocations: 4 kB / 0.6693 GB, free: 82.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003581/0.03228, allocations: 96.7 kB / 0.6694 GB, free: 82.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.03278, allocations: 135.8 kB / 0.6696 GB, free: 82.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.03438, allocations: 1.969 MB / 0.6715 GB, free: 80.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004711/0.03485, allocations: 32.08 kB / 0.6715 GB, free: 80.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.03489, allocations: 23.98 kB / 0.6715 GB, free: 80.06 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.000208/0.03509, allocations: 191.3 kB / 0.6717 GB, free: 79.87 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.564e-05/0.03519, allocations: 75.53 kB / 0.6718 GB, free: 79.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.0363, allocations: 0.6497 MB / 0.6724 GB, free: 79.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.03631, allocations: 7.938 kB / 0.6724 GB, free: 79.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.03631, allocations: 7.984 kB / 0.6724 GB, free: 79.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.03632, allocations: 0 / 0.6724 GB, free: 79.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.03782, allocations: 1.094 MB / 0.6735 GB, free: 77.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.03782, allocations: 0 / 0.6735 GB, free: 77.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007166/0.03854, allocations: 163.9 kB / 0.6737 GB, free: 77.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003317/0.03887, allocations: 100.8 kB / 0.6738 GB, free: 77.71 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.0389, allocations: 19.98 kB / 0.6738 GB, free: 77.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002399/0.0413, allocations: 4.487 MB / 0.6782 GB, free: 72.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.0413, allocations: 192 / 0.6782 GB, free: 72.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.04267, allocations: 0.9484 MB / 0.6791 GB, free: 71.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/0.04289, allocations: 135.4 kB / 0.6792 GB, free: 71.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-05/0.04297, allocations: 19.94 kB / 0.6792 GB, free: 71.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004419/0.04341, allocations: 23.98 kB / 0.6793 GB, free: 71.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.974e-05/0.04351, allocations: 48.41 kB / 0.6793 GB, free: 71.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.04354, allocations: 16 kB / 0.6793 GB, free: 71.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000435/0.04397, allocations: 475 kB / 0.6798 GB, free: 71.24 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.04397, allocations: 4 kB / 0.6798 GB, free: 71.24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006839/0.04466, allocations: 231.7 kB / 0.68 GB, free: 71.01 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.0003255/0.04498, allocations: 177.5 kB / 0.6802 GB, free: 70.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001172/0.04615, allocations: 0.6316 MB / 0.6808 GB, free: 70.19 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.04616, allocations: 0 / 0.6808 GB, free: 70.19 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009192/0.04708, allocations: 461.5 kB / 0.6812 GB, free: 69.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007346/0.04781, allocations: 173.4 kB / 0.6814 GB, free: 69.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.0494, allocations: 1.357 MB / 0.6827 GB, free: 68.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.04959, allocations: 340.2 kB / 0.683 GB, free: 67.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003323/0.04993, allocations: 105.5 kB / 0.6831 GB, free: 67.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.0501, allocations: 68.47 kB / 0.6832 GB, free: 67.63 MB / 0.5105 GB Notification: Performance of SimCode: time 5.41e-07/0.0501, allocations: 0 / 0.6832 GB, free: 67.63 MB / 0.5105 GB Notification: Performance of Templates: time 0.01726/0.06736, allocations: 13.57 MB / 0.6965 GB, free: 54.33 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.SimpleValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.340769601985812]