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.001153/0.001153, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.13/1.13, allocations: 177.2 MB / 200.3 MB, free: 5.68 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.002072/0.002072, allocations: 152.6 kB / 257 MB, free: 12.97 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.4071/0.4071, allocations: 80.25 MB / 340.5 MB, free: 9.633 MB / 314.7 MB " [Timeout remaining time 180] 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.04963/0.04963, allocations: 4.787 MB / 375.3 MB, free: 7.137 MB / 346.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.272e-06/1.272e-06, allocations: 0 / 395 MB, free: 3.465 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182e-05/1.309e-05, allocations: 2.312 kB / 395 MB, free: 3.461 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValve): time 0.004394/0.004407, allocations: 4.045 MB / 399 MB, free: 15.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004137/0.008544, allocations: 2.758 MB / 401.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002685/0.008813, allocations: 8 kB / 401.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.00994, allocations: 0.8237 MB / 402.6 MB, free: 11.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006221/0.01056, allocations: 349.4 kB / 403 MB, free: 11.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.01177, allocations: 0.6035 MB / 403.6 MB, free: 10.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008817/0.01266, allocations: 0.9873 MB / 404.6 MB, free: 9.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005157/0.01317, allocations: 446.4 kB / 405 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005608/0.01373, allocations: 0.526 MB / 405.5 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003957/0.01413, allocations: 338.9 kB / 405.9 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.716e-05/0.01423, allocations: 76 kB / 405.9 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004848/0.01471, allocations: 323.5 kB / 406.2 MB, free: 8.133 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.01483, allocations: 187.2 kB / 406.4 MB, free: 7.949 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002326/0.01506, allocations: 283.1 kB / 406.7 MB, free: 7.672 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008087/0.01587, allocations: 0.8135 MB / 407.5 MB, free: 6.855 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.01587, allocations: 0 / 407.5 MB, free: 6.855 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.01588, allocations: 0 / 407.5 MB, free: 6.855 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.01588, allocations: 0 / 407.5 MB, free: 6.855 MB / 378.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.001471/0.01735, allocations: 1.149 MB / 408.7 MB, free: 5.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.01738, allocations: 16.02 kB / 408.7 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004914/0.01788, allocations: 132.8 kB / 408.8 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.01836, allocations: 374.2 kB / 409.2 MB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.01839, allocations: 37.38 kB / 409.2 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-05/0.01845, allocations: 52.38 kB / 409.3 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/0.01901, allocations: 0.6861 MB / 409.9 MB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.01902, allocations: 192 / 409.9 MB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.915e-05/0.01909, allocations: 28.36 kB / 410 MB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.0191, allocations: 15.94 kB / 410 MB, free: 4.191 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.01937, allocations: 150.8 kB / 410.1 MB, free: 4.043 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.02104, allocations: 1.249 MB / 411.4 MB, free: 2.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.02137, allocations: 246.1 kB / 411.6 MB, free: 2.508 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.02151, allocations: 94.31 kB / 411.7 MB, free: 2.414 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003249/0.02183, allocations: 116.4 kB / 411.8 MB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.02186, allocations: 47 kB / 411.9 MB, free: 2.246 MB / 378.7 MB Notification: Performance of pre-optimization done (n=55): time 1.803e-06/0.02186, allocations: 3.938 kB / 411.9 MB, free: 2.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.001637/0.0235, allocations: 0.8923 MB / 412.8 MB, free: 1.316 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.232e-05/0.02359, allocations: 291.2 kB / 413.1 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.02404, allocations: 0.5273 MB / 413.6 MB, free: 440 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.02407, allocations: 33.7 kB / 413.6 MB, free: 400 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.02421, allocations: 266.3 kB / 413.9 MB, free: 124 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.02435, allocations: 210.3 kB / 414.1 MB, free: 15.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.02449, allocations: 114.3 kB / 414.2 MB, free: 15.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.02461, allocations: 386.6 kB / 414.6 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.02472, allocations: 57.28 kB / 414.6 MB, free: 15.35 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.02498, allocations: 430 kB / 415.1 MB, free: 14.83 MB / 394.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.0009271/0.0259, allocations: 0.5781 MB / 415.6 MB, free: 14.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.02591, allocations: 4 kB / 415.6 MB, free: 14.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005592/0.02646, allocations: 361.6 kB / 416 MB, free: 13.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.02648, allocations: 8 kB / 416 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.02648, allocations: 0 / 416 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003034/0.02679, allocations: 96.86 kB / 416.1 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.02726, allocations: 159.8 kB / 416.2 MB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.02869, allocations: 1.641 MB / 417.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.02896, allocations: 24 kB / 417.9 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.02899, allocations: 15.98 kB / 417.9 MB, free: 11.85 MB / 394.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.0001513/0.02914, allocations: 149.7 kB / 418.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.315e-05/0.02923, allocations: 63.88 kB / 418.1 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006126/0.02984, allocations: 405.3 kB / 418.5 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.02985, allocations: 8 kB / 418.5 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.02985, allocations: 0 / 418.5 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.02986, allocations: 3.984 kB / 418.5 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009483/0.03081, allocations: 0.6854 MB / 419.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.03081, allocations: 4.031 kB / 419.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005848/0.0314, allocations: 191.8 kB / 419.4 MB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002935/0.03169, allocations: 96.8 kB / 419.5 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.03172, allocations: 19.98 kB / 419.5 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/0.03391, allocations: 4.025 MB / 423.6 MB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.03391, allocations: 8.062 kB / 423.6 MB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007072/0.03462, allocations: 0.5347 MB / 424.1 MB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.03478, allocations: 75.45 kB / 424.2 MB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.0349, allocations: 15.94 kB / 424.2 MB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.03516, allocations: 19.98 kB / 424.2 MB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.693e-05/0.03525, allocations: 48.41 kB / 424.3 MB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.03527, allocations: 12 kB / 424.3 MB, free: 5.172 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002667/0.03554, allocations: 276.6 kB / 424.5 MB, free: 4.902 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03554, allocations: 4 kB / 424.5 MB, free: 4.898 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005966/0.03614, allocations: 219.9 kB / 424.8 MB, free: 4.684 MB / 394.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.000254/0.03639, allocations: 164.4 kB / 424.9 MB, free: 4.512 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006853/0.03708, allocations: 466.9 kB / 425.4 MB, free: 4.043 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/0.03708, allocations: 4 kB / 425.4 MB, free: 4.039 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005629/0.03765, allocations: 379.3 kB / 425.7 MB, free: 3.652 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005604/0.03821, allocations: 201.7 kB / 425.9 MB, free: 3.461 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.04002, allocations: 1.24 MB / 427.2 MB, free: 2.184 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.04014, allocations: 151.7 kB / 427.3 MB, free: 2.016 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003113/0.04045, allocations: 105.5 kB / 427.4 MB, free: 1.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005489/0.041, allocations: 277.1 kB / 427.7 MB, free: 1.637 MB / 394.7 MB Notification: Performance of SimCode: time 7.41e-07/0.041, allocations: 0 / 427.7 MB, free: 1.637 MB / 394.7 MB Notification: Performance of Templates: time 0.01643/0.05743, allocations: 14.85 MB / 442.6 MB, free: 2.977 MB / 410.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 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.SimpleValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.843795232940465]