Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.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.0006449/0.0006449, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009369/0.001582, 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.0007211/0.0007211, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009509/0.001672, 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.9363/0.9363, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07314/1.009, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.03312/0.03312, allocations: 8.735 MB / 252.7 MB, free: 6.387 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005087/0.0382, allocations: 2.997 MB / 255.7 MB, free: 3.387 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.ReliefValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest") translateModel(OpenHydraulics.DevelopmentTests.ReliefValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 257 MB, free: 2.102 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.903e-05, allocations: 2.312 kB / 257 MB, free: 2.098 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ReliefValveTest): time 0.006022/0.006041, allocations: 4.431 MB / 261.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005382/0.01142, allocations: 3.045 MB / 264.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003796/0.0118, allocations: 11.94 kB / 264.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.01223, allocations: 154.7 kB / 264.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008772/0.01311, allocations: 405.2 kB / 265 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.01442, allocations: 0.5761 MB / 265.6 MB, free: 9.445 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.01563, allocations: 1.167 MB / 266.8 MB, free: 8.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003646/0.016, allocations: 203.1 kB / 267 MB, free: 8.062 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000973/0.01697, allocations: 0.6755 MB / 267.6 MB, free: 7.383 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006086/0.01758, allocations: 395 kB / 268 MB, free: 6.996 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.01772, allocations: 88 kB / 268.1 MB, free: 6.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005946/0.01831, allocations: 339.6 kB / 268.4 MB, free: 6.578 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.01849, allocations: 159.5 kB / 268.6 MB, free: 6.422 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003179/0.01881, allocations: 259.6 kB / 268.8 MB, free: 6.168 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.01986, allocations: 0.7827 MB / 269.6 MB, free: 5.383 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.768e-05/0.01988, allocations: 4 kB / 269.6 MB, free: 5.379 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01988, allocations: 0 / 269.6 MB, free: 5.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.695e-05/0.01991, allocations: 0 / 269.6 MB, free: 5.379 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001745/0.02165, allocations: 1.167 MB / 270.8 MB, free: 4.176 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.02169, allocations: 8.031 kB / 270.8 MB, free: 4.168 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002838/0.02197, allocations: 197.8 kB / 271 MB, free: 3.957 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005979/0.02257, allocations: 339.5 kB / 271.3 MB, free: 3.602 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/0.02261, allocations: 45.69 kB / 271.4 MB, free: 3.559 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.066e-05/0.02271, allocations: 64.12 kB / 271.4 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007096/0.02341, allocations: 0.5217 MB / 272 MB, free: 2.941 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.02343, allocations: 0 / 272 MB, free: 2.941 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.02347, allocations: 24 kB / 272 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.02348, allocations: 20 kB / 272 MB, free: 2.898 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.02377, allocations: 226.8 kB / 272.2 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.02539, allocations: 1.377 MB / 273.6 MB, free: 1.242 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.02572, allocations: 248.6 kB / 273.8 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.66e-05/0.02581, allocations: 106.5 kB / 273.9 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.04e-05/0.02586, allocations: 19.98 kB / 274 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.02588, allocations: 42.5 kB / 274 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.332e-06/0.02589, allocations: 0 / 274 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.1059/0.1318, allocations: 0.8346 MB / 274.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/0.1318, allocations: 58.06 kB / 274.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.1321, allocations: 386.5 kB / 275.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.1322, allocations: 38.17 kB / 275.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.1323, allocations: 282.3 kB / 275.6 MB, free: 11.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.265e-05/0.1324, allocations: 160.6 kB / 275.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-05/0.1325, allocations: 92.42 kB / 275.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.435e-05/0.1325, allocations: 361.2 kB / 276.2 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.1326, allocations: 110.1 kB / 276.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.1328, allocations: 231.8 kB / 276.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.1331, allocations: 398.3 kB / 276.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1331, allocations: 1.969 kB / 276.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0003713/0.1335, allocations: 355.5 kB / 277.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.1335, allocations: 33.94 kB / 277.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1335, allocations: 5.156 kB / 277.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000139/0.1336, allocations: 87.78 kB / 277.4 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.134, allocations: 130.5 kB / 277.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006879/0.1347, allocations: 1.398 MB / 278.9 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.1349, allocations: 33.61 kB / 278.9 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.1349, allocations: 18.94 kB / 279 MB, free: 8.949 MB / 266.7 MB Warning: Assuming fixed start value for the following 3 variables: constantSpeed.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real reliefValve.variableRestriction.port_a.p:VARIABLE(flow=false min = 0.0 start = idealPump.fluidPower2MechRot.p_init unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Pressure in the connection point\" type: Real reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) \"Normalized valve position (between 0 and 1)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 (idealPump.mechanicalPumpLosses.mode,$PRE.idealPump.mechanicalPumpLosses.mode,idealPump.mechanicalPumpLosses.locked,idealPump.mechanicalPumpLosses.startBackward,$PRE.idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.startForward,$PRE.idealPump.mechanicalPumpLosses.startForward,idealPump.mechanicalPumpLosses.free,reliefValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001741/0.1351, allocations: 189.4 kB / 279.1 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.428e-05/0.1351, allocations: 48.08 kB / 279.2 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.1356, allocations: 363.5 kB / 279.6 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.1356, allocations: 5.438 kB / 279.6 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1356, allocations: 0.5625 kB / 279.6 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1356, allocations: 2.438 kB / 279.6 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000808/0.1364, allocations: 0.6756 MB / 280.2 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.1364, allocations: 4.344 kB / 280.2 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.1367, allocations: 103.3 kB / 280.3 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.1368, allocations: 66.62 kB / 280.4 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.1369, allocations: 89.86 kB / 280.5 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.1369, allocations: 15.23 kB / 280.5 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005125/0.1374, allocations: 1.261 MB / 281.8 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1374, allocations: 1.156 kB / 281.8 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.1378, allocations: 0.5088 MB / 282.3 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.874e-05/0.1379, allocations: 19.16 kB / 282.3 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.138, allocations: 30.53 kB / 282.3 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.1382, allocations: 107.4 kB / 282.4 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.1382, allocations: 14.59 kB / 282.4 MB, free: 6.941 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001608/0.1384, allocations: 172.4 kB / 282.6 MB, free: 6.918 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1384, allocations: 2.438 kB / 282.6 MB, free: 6.918 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004813/0.1389, allocations: 196.9 kB / 282.8 MB, free: 6.918 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (reliefValve.variableRestriction.port_a.p,reliefValve.valvePosition,circuitTank.volumeOpen.m,constantSpeed.phi) * Number of discrete variables: 4 (idealPump.mechanicalPumpLosses.startForward,idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.locked,idealPump.mechanicalPumpLosses.mode) * Number of discrete states: 3 (idealPump.mechanicalPumpLosses.mode,idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001208/0.1401, allocations: 0.5746 MB / 283.4 MB, free: 6.824 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004699/0.1406, allocations: 471.2 kB / 283.8 MB, free: 6.559 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.566e-05/0.1406, allocations: 10.78 kB / 283.9 MB, free: 6.559 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.1408, allocations: 320.4 kB / 284.2 MB, free: 6.348 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.1412, allocations: 191.9 kB / 284.4 MB, free: 6.328 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009078/0.1503, allocations: 1.201 MB / 285.6 MB, free: 5.719 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.1504, allocations: 160 kB / 285.7 MB, free: 5.637 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002198/0.1506, allocations: 70.05 kB / 285.8 MB, free: 5.625 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.1509, allocations: 177.6 kB / 286 MB, free: 5.578 MB / 266.7 MB Notification: Performance of SimCode: time 6.52e-07/0.1509, allocations: 0 / 286 MB, free: 5.578 MB / 266.7 MB Notification: Performance of Templates: time 0.05046/0.2013, allocations: 11.4 MB / 297.4 MB, free: 0.6172 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.817387280985713]