Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.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.0006709/0.0006709, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009182/0.001589, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] 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.0006688/0.0006688, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000889/0.001558, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.8836/0.8836, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08137/0.965, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo): time 0.0329/0.0329, allocations: 8.73 MB / 252.7 MB, free: 6.391 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004783/0.03768, allocations: 3.017 MB / 255.7 MB, free: 3.371 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 257 MB, free: 2.094 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.154e-05, allocations: 2.312 kB / 257 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.004779/0.004801, allocations: 3.318 MB / 260.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003194/0.007994, allocations: 2.196 MB / 262.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.008201, allocations: 7.938 kB / 262.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.008549, allocations: 95.27 kB / 262.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000545/0.009094, allocations: 262.2 kB / 262.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007688/0.009863, allocations: 346.6 kB / 263.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005914/0.01045, allocations: 0.5249 MB / 263.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.01064, allocations: 74.94 kB / 263.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000462/0.0111, allocations: 321.3 kB / 264.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.01139, allocations: 167.5 kB / 264.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.606e-05/0.01144, allocations: 32 kB / 264.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004802/0.01192, allocations: 271.6 kB / 264.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.383e-05/0.01201, allocations: 71.73 kB / 264.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.01215, allocations: 111.8 kB / 264.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006989/0.01285, allocations: 462.4 kB / 265.2 MB, free: 9.832 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.92e-05/0.01287, allocations: 0 / 265.2 MB, free: 9.832 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01287, allocations: 0 / 265.2 MB, free: 9.832 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.01289, allocations: 0 / 265.2 MB, free: 9.832 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001027/0.01392, allocations: 0.6977 MB / 265.9 MB, free: 9.109 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.01395, allocations: 12.03 kB / 265.9 MB, free: 9.098 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.01422, allocations: 145.9 kB / 266 MB, free: 8.938 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.01458, allocations: 237.7 kB / 266.3 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.01461, allocations: 28.95 kB / 266.3 MB, free: 8.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/0.01466, allocations: 28.12 kB / 266.3 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/0.01504, allocations: 270.2 kB / 266.6 MB, free: 8.336 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.01505, allocations: 0 / 266.6 MB, free: 8.336 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.01508, allocations: 12 kB / 266.6 MB, free: 8.324 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.01509, allocations: 12 kB / 266.6 MB, free: 8.312 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.01528, allocations: 93.98 kB / 266.7 MB, free: 8.219 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.01648, allocations: 0.6774 MB / 267.4 MB, free: 7.512 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.0167, allocations: 118.4 kB / 267.5 MB, free: 7.387 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.549e-05/0.01676, allocations: 36.84 kB / 267.5 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.477e-05/0.01682, allocations: 16 kB / 267.6 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.01684, allocations: 34.56 kB / 267.6 MB, free: 7.289 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 2.344e-06/0.01685, allocations: 0 / 267.6 MB, free: 7.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005103/0.01736, allocations: 228.5 kB / 267.8 MB, free: 7.062 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.01739, allocations: 55.41 kB / 267.9 MB, free: 6.996 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.01763, allocations: 272.6 kB / 268.1 MB, free: 6.719 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.01765, allocations: 37.7 kB / 268.2 MB, free: 6.676 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.76e-05/0.01775, allocations: 181.1 kB / 268.4 MB, free: 6.488 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/0.0178, allocations: 83.27 kB / 268.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-05/0.01788, allocations: 57.67 kB / 268.5 MB, free: 6.344 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.01798, allocations: 338.8 kB / 268.8 MB, free: 6.004 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.26e-05/0.01806, allocations: 45.27 kB / 268.9 MB, free: 5.957 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.178e-05/0.01815, allocations: 86.8 kB / 268.9 MB, free: 5.848 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.01833, allocations: 143.7 kB / 269.1 MB, free: 5.684 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.01833, allocations: 0 / 269.1 MB, free: 5.684 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002309/0.01856, allocations: 153.3 kB / 269.2 MB, free: 5.527 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.01858, allocations: 4.219 kB / 269.2 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.01858, allocations: 8 kB / 269.3 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.01859, allocations: 0 / 269.3 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.01895, allocations: 95.86 kB / 269.3 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.01896, allocations: 7.984 kB / 269.4 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.01906, allocations: 23.83 kB / 269.4 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.01908, allocations: 4 kB / 269.4 MB, free: 5.387 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of rotation of pump\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.01922, allocations: 132.5 kB / 269.5 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.01927, allocations: 31.91 kB / 269.5 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.01958, allocations: 179 kB / 269.7 MB, free: 5.035 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.01959, allocations: 7.984 kB / 269.7 MB, free: 5.027 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.01959, allocations: 0 / 269.7 MB, free: 5.027 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.01959, allocations: 3.984 kB / 269.7 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.01989, allocations: 189.8 kB / 269.9 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.01989, allocations: 11.98 kB / 269.9 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.02019, allocations: 83.94 kB / 270 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.363e-05/0.02028, allocations: 39.72 kB / 270 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.02028, allocations: 0 / 270 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.0203, allocations: 11.98 kB / 270.1 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.0203, allocations: 7.938 kB / 270.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.0203, allocations: 0 / 270.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.02063, allocations: 275.7 kB / 270.3 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.02066, allocations: 8 kB / 270.3 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.02077, allocations: 0 / 270.3 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.02081, allocations: 23.95 kB / 270.4 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.02082, allocations: 4 kB / 270.4 MB, free: 4.348 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001241/0.02095, allocations: 107.5 kB / 270.5 MB, free: 4.242 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02095, allocations: 0 / 270.5 MB, free: 4.242 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004221/0.02137, allocations: 131.6 kB / 270.6 MB, free: 4.113 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.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 (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001483/0.02285, allocations: 0.5504 MB / 271.2 MB, free: 3.711 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.02307, allocations: 119.8 kB / 271.3 MB, free: 3.594 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/0.02308, allocations: 8 kB / 271.3 MB, free: 3.586 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.958e-05/0.02317, allocations: 69.2 kB / 271.3 MB, free: 3.516 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.02354, allocations: 93.95 kB / 271.4 MB, free: 3.426 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007907/0.03144, allocations: 0.6554 MB / 272.1 MB, free: 2.742 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.035e-05/0.03153, allocations: 104.6 kB / 272.2 MB, free: 2.617 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.03173, allocations: 46.94 kB / 272.2 MB, free: 2.574 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.0319, allocations: 121.3 kB / 272.4 MB, free: 2.453 MB / 266.7 MB Notification: Performance of SimCode: time 1.844e-06/0.0319, allocations: 0 / 272.4 MB, free: 2.453 MB / 266.7 MB Notification: Performance of Templates: time 0.1032/0.1351, allocations: 6.016 MB / 278.4 MB, free: 11.7 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.558466079644859]