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.0009291/0.0009291, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.9585/0.9585, allocations: 177.1 MB / 200.3 MB, free: 5.719 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.001203/0.001203, allocations: 160.6 kB / 256.9 MB, free: 12.98 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.3003/0.3003, allocations: 80.25 MB / 393.7 MB, free: 1.98 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.02032/0.02032, allocations: 4.806 MB / 481.8 MB, free: 3.949 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.373e-06/1.373e-06, allocations: 0 / 0.5679 GB, free: 104 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.434e-05, allocations: 6.25 kB / 0.5679 GB, free: 96 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValve): time 0.003545/0.003559, allocations: 3.978 MB / 0.5718 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003641/0.007199, allocations: 2.709 MB / 0.5744 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003439/0.007543, allocations: 7.938 kB / 0.5744 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009387/0.008482, allocations: 0.8121 MB / 0.5752 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000485/0.008967, allocations: 349.4 kB / 0.5755 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.01007, allocations: 0.6348 MB / 0.5762 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007495/0.01082, allocations: 0.9768 MB / 0.5771 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004703/0.01129, allocations: 405.4 kB / 0.5775 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004798/0.01177, allocations: 0.5415 MB / 0.578 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.01207, allocations: 330.9 kB / 0.5783 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.913e-05/0.01216, allocations: 76 kB / 0.5784 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003868/0.01254, allocations: 311.6 kB / 0.5787 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.579e-05/0.01264, allocations: 187.1 kB / 0.5789 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.01281, allocations: 283.1 kB / 0.5792 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006363/0.01344, allocations: 0.8096 MB / 0.58 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.01345, allocations: 3.984 kB / 0.58 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.01345, allocations: 0 / 0.58 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.01346, allocations: 0 / 0.58 GB, free: 3.645 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001313/0.01477, allocations: 1.298 MB / 0.5812 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.0148, allocations: 12.02 kB / 0.5812 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003559/0.01516, allocations: 164.3 kB / 0.5814 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.01556, allocations: 464.8 kB / 0.5818 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.01559, allocations: 37.38 kB / 0.5819 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.01564, allocations: 52.38 kB / 0.5819 GB, free: 1.543 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004845/0.01612, allocations: 0.7237 MB / 0.5826 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.01614, allocations: 192 / 0.5826 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.01617, allocations: 20.38 kB / 0.5826 GB, free: 0.668 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.01617, allocations: 19.94 kB / 0.5827 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.01639, allocations: 178.7 kB / 0.5828 GB, free: 484 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.01794, allocations: 1.785 MB / 0.5846 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.01825, allocations: 266.8 kB / 0.5848 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.01836, allocations: 117 kB / 0.5849 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002813/0.01864, allocations: 108.4 kB / 0.585 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.01867, allocations: 41.89 kB / 0.5851 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=55): time 1.803e-06/0.01867, allocations: 4 kB / 0.5851 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59): time 0.001395/0.02006, allocations: 0.9801 MB / 0.586 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.213e-05/0.02015, allocations: 295.2 kB / 0.5863 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004058/0.02056, allocations: 0.6046 MB / 0.5869 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.02059, allocations: 37.7 kB / 0.587 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.02079, allocations: 391.8 kB / 0.5873 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.0209, allocations: 210.2 kB / 0.5875 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.02104, allocations: 123.9 kB / 0.5876 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.02122, allocations: 0.5546 MB / 0.5882 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-05/0.02132, allocations: 73.23 kB / 0.5883 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.02158, allocations: 481.6 kB / 0.5887 GB, free: 10.09 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.0007696/0.02235, allocations: 0.6184 MB / 0.5893 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.02235, allocations: 7.938 kB / 0.5893 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005141/0.02287, allocations: 480.2 kB / 0.5898 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.02288, allocations: 7.984 kB / 0.5898 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.02289, allocations: 0 / 0.5898 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002654/0.02315, allocations: 111.6 kB / 0.5899 GB, free: 8.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.02341, allocations: 123.9 kB / 0.59 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.02469, allocations: 2.319 MB / 0.5923 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.02489, allocations: 20 kB / 0.5923 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.02491, allocations: 23.92 kB / 0.5923 GB, free: 6.246 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.0001517/0.02507, allocations: 194.7 kB / 0.5925 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.845e-05/0.02515, allocations: 99.5 kB / 0.5926 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005209/0.02568, allocations: 472.1 kB / 0.5931 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.02568, allocations: 8 kB / 0.5931 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.02568, allocations: 0 / 0.5931 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.02569, allocations: 3.984 kB / 0.5931 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008303/0.02652, allocations: 0.861 MB / 0.5939 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.02652, allocations: 0 / 0.5939 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.02686, allocations: 159.8 kB / 0.5941 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002405/0.0271, allocations: 107.6 kB / 0.5942 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.02712, allocations: 16 kB / 0.5942 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1964/0.2235, allocations: 5.88 MB / 0.5999 GB, free: 164.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2235, allocations: 4.266 kB / 0.5999 GB, free: 164.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007769/0.2243, allocations: 0.6916 MB / 0.6006 GB, free: 164.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.2245, allocations: 124.2 kB / 0.6007 GB, free: 164.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.39e-05/0.2245, allocations: 21.58 kB / 0.6007 GB, free: 164.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.2247, allocations: 24.12 kB / 0.6008 GB, free: 164.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/0.2248, allocations: 46.41 kB / 0.6008 GB, free: 164.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.2248, allocations: 12.23 kB / 0.6008 GB, free: 164.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002515/0.2251, allocations: 410 kB / 0.6012 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2251, allocations: 0.8438 kB / 0.6012 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005077/0.2256, allocations: 226.5 kB / 0.6014 GB, free: 164.2 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.0002301/0.2258, allocations: 170.5 kB / 0.6016 GB, free: 164.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00062/0.2264, allocations: 0.5235 MB / 0.6021 GB, free: 163.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2264, allocations: 1.188 kB / 0.6021 GB, free: 163.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004499/0.2269, allocations: 457.8 kB / 0.6025 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.2274, allocations: 195.5 kB / 0.6027 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.2289, allocations: 1.337 MB / 0.604 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.229, allocations: 153.4 kB / 0.6042 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002803/0.2293, allocations: 97.67 kB / 0.6043 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004682/0.2298, allocations: 313.3 kB / 0.6046 GB, free: 163 MB / 0.5105 GB Notification: Performance of SimCode: time 7.72e-07/0.2298, allocations: 1.094 kB / 0.6046 GB, free: 163 MB / 0.5105 GB Notification: Performance of Templates: time 0.02081/0.2506, allocations: 14.74 MB / 0.619 GB, free: 158.8 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: 4.200306471437216]