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.0009015/0.0009015, allocations: 80.88 kB / 20.8 MB, free: 3.66 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.034/1.034, allocations: 177.2 MB / 201.2 MB, free: 5.371 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.0013/0.0013, allocations: 159.4 kB / 257.9 MB, free: 12.79 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.4367/0.4367, allocations: 80.24 MB / 341.4 MB, free: 9.566 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.02058/0.02058, allocations: 4.796 MB / 376.2 MB, free: 7.117 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.913e-06/1.913e-06, allocations: 0 / 396 MB, free: 3.387 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.324e-05/3.516e-05, allocations: 10.19 kB / 396 MB, free: 3.375 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValve): time 0.006343/0.006378, allocations: 4.033 MB / 400 MB, free: 15.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004948/0.01133, allocations: 2.765 MB / 402.8 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004135/0.01174, allocations: 4 kB / 402.8 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.01275, allocations: 0.8237 MB / 403.6 MB, free: 11.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005806/0.01333, allocations: 353.3 kB / 403.9 MB, free: 11.35 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.01475, allocations: 0.6036 MB / 404.6 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.01589, allocations: 0.9834 MB / 405.5 MB, free: 9.762 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004633/0.01636, allocations: 450.3 kB / 406 MB, free: 9.301 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005158/0.01687, allocations: 0.5298 MB / 406.5 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00032/0.01719, allocations: 331 kB / 406.8 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.176e-05/0.01728, allocations: 76 kB / 406.9 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005709/0.01786, allocations: 331.5 kB / 407.2 MB, free: 8.047 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.01796, allocations: 191.1 kB / 407.4 MB, free: 7.859 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.01815, allocations: 275.2 kB / 407.7 MB, free: 7.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007742/0.01892, allocations: 0.8135 MB / 408.5 MB, free: 6.773 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.01892, allocations: 0 / 408.5 MB, free: 6.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01893, allocations: 0 / 408.5 MB, free: 6.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.01893, allocations: 0 / 408.5 MB, free: 6.773 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.001344/0.02028, allocations: 1.149 MB / 409.6 MB, free: 5.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.02033, allocations: 12.03 kB / 409.7 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004598/0.02079, allocations: 136.8 kB / 409.8 MB, free: 5.434 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/0.02122, allocations: 374.2 kB / 410.2 MB, free: 5.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.02124, allocations: 41.31 kB / 410.2 MB, free: 5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.55e-05/0.02131, allocations: 56.36 kB / 410.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.02182, allocations: 0.6822 MB / 410.9 MB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.02183, allocations: 192 / 410.9 MB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.02186, allocations: 24.38 kB / 411 MB, free: 4.125 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.02187, allocations: 15.94 kB / 411 MB, free: 4.109 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.02207, allocations: 154.8 kB / 411.1 MB, free: 3.957 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.02343, allocations: 1.245 MB / 412.4 MB, free: 2.676 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005814/0.02401, allocations: 249.2 kB / 412.6 MB, free: 2.426 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.02411, allocations: 98.3 kB / 412.7 MB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003179/0.02443, allocations: 116.4 kB / 412.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.02446, allocations: 47.06 kB / 412.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=55): time 2.224e-06/0.02446, allocations: 7.938 kB / 412.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.001367/0.02583, allocations: 0.8806 MB / 413.8 MB, free: 1.238 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.013e-05/0.02592, allocations: 303.2 kB / 414.1 MB, free: 0.875 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.02627, allocations: 0.5195 MB / 414.6 MB, free: 356 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.0263, allocations: 41.7 kB / 414.6 MB, free: 308 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.02641, allocations: 250.4 kB / 414.9 MB, free: 48 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.02652, allocations: 214.1 kB / 415.1 MB, free: 15.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.02662, allocations: 114.3 kB / 415.2 MB, free: 15.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.02673, allocations: 386.6 kB / 415.6 MB, free: 15.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.258e-05/0.02682, allocations: 61.27 kB / 415.6 MB, free: 15.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.02706, allocations: 423.3 kB / 416 MB, free: 14.75 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.0007726/0.02783, allocations: 0.582 MB / 416.6 MB, free: 14.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.02784, allocations: 4 kB / 416.6 MB, free: 14.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004532/0.02829, allocations: 369.8 kB / 417 MB, free: 13.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.02831, allocations: 4 kB / 417 MB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.02831, allocations: 4 kB / 417 MB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002636/0.02858, allocations: 88.88 kB / 417.1 MB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.02893, allocations: 163.8 kB / 417.2 MB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.03008, allocations: 1.641 MB / 418.9 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.03029, allocations: 24.03 kB / 418.9 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.03031, allocations: 15.98 kB / 418.9 MB, free: 11.77 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.0001461/0.03045, allocations: 145.7 kB / 419.1 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.335e-05/0.03054, allocations: 63.88 kB / 419.1 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007475/0.03128, allocations: 405.3 kB / 419.5 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.03129, allocations: 11.94 kB / 419.5 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.03129, allocations: 4 kB / 419.5 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.0313, allocations: 3.984 kB / 419.5 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007409/0.03204, allocations: 0.6776 MB / 420.2 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.03204, allocations: 0 / 420.2 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/0.03246, allocations: 199.8 kB / 420.4 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002312/0.03269, allocations: 96.75 kB / 420.5 MB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.03271, allocations: 15.98 kB / 420.5 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/0.03464, allocations: 4.029 MB / 424.5 MB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.03464, allocations: 0 / 424.5 MB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005461/0.03518, allocations: 0.5426 MB / 425.1 MB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.03531, allocations: 67.52 kB / 425.1 MB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.149e-05/0.03536, allocations: 27.88 kB / 425.2 MB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.03555, allocations: 19.98 kB / 425.2 MB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.03562, allocations: 48.39 kB / 425.2 MB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.03564, allocations: 8 kB / 425.3 MB, free: 5.086 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002084/0.03585, allocations: 276.6 kB / 425.5 MB, free: 4.816 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03585, allocations: 0 / 425.5 MB, free: 4.816 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004948/0.03634, allocations: 223.9 kB / 425.7 MB, free: 4.598 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.0002662/0.03661, allocations: 156.1 kB / 425.9 MB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005779/0.03719, allocations: 462.7 kB / 426.3 MB, free: 3.969 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.0372, allocations: 8 kB / 426.4 MB, free: 3.961 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007406/0.03794, allocations: 375.5 kB / 426.7 MB, free: 3.578 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.03839, allocations: 203.2 kB / 426.9 MB, free: 3.383 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.03999, allocations: 1.255 MB / 428.2 MB, free: 2.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.957e-05/0.04009, allocations: 151.7 kB / 428.3 MB, free: 1.922 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002694/0.04036, allocations: 97.56 kB / 428.4 MB, free: 1.824 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004173/0.04078, allocations: 273.1 kB / 428.7 MB, free: 1.555 MB / 394.7 MB Notification: Performance of SimCode: time 1.272e-06/0.04078, allocations: 0 / 428.7 MB, free: 1.555 MB / 394.7 MB Notification: Performance of Templates: time 0.01775/0.05853, allocations: 14.87 MB / 443.6 MB, free: 2.879 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 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.SimpleValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6409410471096635]