Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.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.001069/0.001069, allocations: 77.95 kB / 20.66 MB, free: 3.84 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.9108/0.9108, allocations: 177.2 MB / 201 MB, free: 5.707 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.001526/0.001526, allocations: 160.5 kB / 257.7 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.2944/0.2944, allocations: 80.23 MB / 394.5 MB, free: 3.055 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.01911/0.01911, allocations: 4.805 MB / 482.6 MB, free: 71.59 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.SimpleValveWithCreek,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.SimpleValveWithCreek") translateModel(OpenHPL.Examples.SimpleValveWithCreek,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.SimpleValveWithCreek") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.5686 GB, free: 3.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/2e-05, allocations: 6.25 kB / 0.5686 GB, free: 3.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValveWithCreek): time 0.004338/0.004358, allocations: 5.03 MB / 0.5736 GB, free: 14.73 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003207/0.007566, allocations: 3.103 MB / 0.5766 GB, free: 11.61 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.007828, allocations: 15.88 kB / 0.5766 GB, free: 11.59 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.00911, allocations: 1.142 MB / 0.5777 GB, free: 10.44 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005413/0.009652, allocations: 484.5 kB / 0.5782 GB, free: 9.965 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.01066, allocations: 0.8103 MB / 0.579 GB, free: 9.152 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007965/0.01145, allocations: 1.393 MB / 0.5803 GB, free: 7.754 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004879/0.01194, allocations: 0.554 MB / 0.5809 GB, free: 7.188 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005219/0.01246, allocations: 0.7363 MB / 0.5816 GB, free: 6.449 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003959/0.01286, allocations: 470.5 kB / 0.582 GB, free: 5.988 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.94e-05/0.01296, allocations: 108 kB / 0.5821 GB, free: 5.883 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003562/0.01331, allocations: 351.4 kB / 0.5825 GB, free: 5.539 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.01344, allocations: 266.8 kB / 0.5827 GB, free: 5.277 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.01369, allocations: 394.8 kB / 0.5831 GB, free: 4.891 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007375/0.01442, allocations: 1.028 MB / 0.5841 GB, free: 3.859 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.01443, allocations: 0 / 0.5841 GB, free: 3.859 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01443, allocations: 0 / 0.5841 GB, free: 3.859 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.01444, allocations: 0 / 0.5841 GB, free: 3.859 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.00163/0.01607, allocations: 1.646 MB / 0.5857 GB, free: 2.145 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.0161, allocations: 12.03 kB / 0.5857 GB, free: 2.133 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004316/0.01653, allocations: 220.1 kB / 0.5859 GB, free: 1.918 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005715/0.0171, allocations: 0.5752 MB / 0.5865 GB, free: 1.312 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.01713, allocations: 54.38 kB / 0.5865 GB, free: 1.258 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.97e-05/0.0172, allocations: 80.36 kB / 0.5866 GB, free: 1.18 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.01784, allocations: 1.044 MB / 0.5876 GB, free: 15.94 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.01786, allocations: 7.938 kB / 0.5877 GB, free: 15.93 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/0.0179, allocations: 28 kB / 0.5877 GB, free: 15.91 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.01791, allocations: 16 kB / 0.5877 GB, free: 15.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004191/0.01832, allocations: 248.8 kB / 0.5879 GB, free: 15.65 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.02027, allocations: 2.562 MB / 0.5904 GB, free: 13.02 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.02065, allocations: 384.5 kB / 0.5908 GB, free: 12.63 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.0208, allocations: 154.1 kB / 0.5909 GB, free: 12.48 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/0.02107, allocations: 117.7 kB / 0.5911 GB, free: 12.37 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.02109, allocations: 54.03 kB / 0.5911 GB, free: 12.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=77): time 1.703e-06/0.0211, allocations: 0 / 0.5911 GB, free: 12.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=85): time 0.001928/0.02302, allocations: 1.354 MB / 0.5924 GB, free: 10.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.02312, allocations: 398.5 kB / 0.5928 GB, free: 10.43 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005113/0.02364, allocations: 0.7567 MB / 0.5936 GB, free: 9.652 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.02367, allocations: 41.7 kB / 0.5936 GB, free: 9.605 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.0239, allocations: 0.4994 MB / 0.5941 GB, free: 9.098 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.02403, allocations: 313.3 kB / 0.5944 GB, free: 8.789 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.02418, allocations: 164.2 kB / 0.5945 GB, free: 8.621 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.02429, allocations: 0.5081 MB / 0.595 GB, free: 8.105 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.02441, allocations: 97.91 kB / 0.5951 GB, free: 8.008 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.02474, allocations: 0.6737 MB / 0.5958 GB, free: 7.172 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 (tunnel2.Vdot_0 - discharge.Vdot_0 = surgeTank.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: creekIntake.Vdot = creekIntake.Vdot_0 (tunnel1.Vdot_0 - tunnel2.Vdot_0 = creekIntake.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.02594, allocations: 1.069 MB / 0.5968 GB, free: 6.082 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.02594, allocations: 4 kB / 0.5968 GB, free: 6.078 MB / 474.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0007318/0.02668, allocations: 0.6796 MB / 0.5975 GB, free: 5.387 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.02669, allocations: 8 kB / 0.5975 GB, free: 5.379 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.02669, allocations: 0 / 0.5975 GB, free: 5.379 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000361/0.02706, allocations: 166.3 kB / 0.5977 GB, free: 5.215 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.0274, allocations: 183.7 kB / 0.5978 GB, free: 5.035 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.02919, allocations: 2.637 MB / 0.6004 GB, free: 2.289 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.02947, allocations: 28 kB / 0.6004 GB, free: 2.262 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.0295, allocations: 23.98 kB / 0.6005 GB, free: 2.238 MB / 474.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: penstock.Vdot = penstock.Vdot_0 surgeTank.Vdot = surgeTank.Vdot_0 creekIntake.Vdot = creekIntake.Vdot_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (91): * Single equations (assignments): 90 * 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 {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.02966, allocations: 212.4 kB / 0.6007 GB, free: 2.02 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.02978, allocations: 127.3 kB / 0.6008 GB, free: 1.895 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007076/0.03048, allocations: 0.6637 MB / 0.6014 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.03049, allocations: 3.984 kB / 0.6014 GB, free: 1.215 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.03049, allocations: 0 / 0.6014 GB, free: 1.215 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.03069, allocations: 171.2 kB / 0.6016 GB, free: 1.047 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.178e-05/0.03076, allocations: 23.95 kB / 0.6016 GB, free: 1.023 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.03101, allocations: 27.98 kB / 0.6017 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.03107, allocations: 72.86 kB / 0.6017 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001118/0.03219, allocations: 0.8189 MB / 0.6025 GB, free: 92 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007731/0.03296, allocations: 0.9655 MB / 0.6035 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001696/0.03313, allocations: 189.5 kB / 0.6036 GB, free: 14.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003247/0.03346, allocations: 494.7 kB / 0.6041 GB, free: 14.44 MB / 490.7 MB Notification: Performance of Backend: time 2.3e-07/0.03346, allocations: 4 kB / 0.6041 GB, free: 14.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.03457, allocations: 0.7878 MB / 0.6049 GB, free: 13.61 MB / 490.7 MB Notification: Performance of SimCode: time 0.002823/0.03739, allocations: 2.913 MB / 0.6077 GB, free: 10.64 MB / 490.7 MB Notification: Performance of Templates: time 0.1636/0.201, allocations: 20.65 MB / 0.6279 GB, free: 130.6 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe ; mkfifo OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe >> ../files/OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.sim & ./OpenHPL_OpenHPL.Examples.SimpleValveWithCreek -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.068237069994211]