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.0008879/0.0008879, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009479/0.0009479, allocations: 173 kB / 23.36 MB, free: 1.129 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.9777/0.9777, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.03617/0.03617, allocations: 8.72 MB / 269 MB, free: 4.406 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 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.442e-06/1.442e-06, allocations: 0 / 288.1 MB, free: 1.297 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/1.987e-05, allocations: 10.11 kB / 288.1 MB, free: 1.289 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.1106/0.1106, allocations: 3.304 MB / 291.4 MB, free: 18.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002472/0.1131, allocations: 2.155 MB / 293.5 MB, free: 17.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.1133, allocations: 4.844 kB / 293.5 MB, free: 17.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003535/0.1137, allocations: 113.8 kB / 293.7 MB, free: 17.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004835/0.1141, allocations: 249.4 kB / 293.9 MB, free: 17.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007064/0.1148, allocations: 351.9 kB / 294.2 MB, free: 16.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000489/0.1153, allocations: 0.524 MB / 294.8 MB, free: 16.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.1155, allocations: 83.05 kB / 294.8 MB, free: 16.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003726/0.1159, allocations: 272.8 kB / 295.1 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.1161, allocations: 169.3 kB / 295.3 MB, free: 16.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.848e-05/0.1162, allocations: 30.97 kB / 295.3 MB, free: 16.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/0.1166, allocations: 271.8 kB / 295.6 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.419e-05/0.1167, allocations: 94.06 kB / 295.7 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.1168, allocations: 141.3 kB / 295.8 MB, free: 16.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006044/0.1174, allocations: 496.4 kB / 296.3 MB, free: 16.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1174, allocations: 0.9375 kB / 296.3 MB, free: 16.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1174, allocations: 1.656 kB / 296.3 MB, free: 16.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.1174, allocations: 0 / 296.3 MB, free: 16.05 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.0007781/0.1182, allocations: 0.6152 MB / 296.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.1183, allocations: 13.19 kB / 296.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.1184, allocations: 63.44 kB / 297 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.1187, allocations: 239.2 kB / 297.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.1187, allocations: 20.62 kB / 297.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.1188, allocations: 29.72 kB / 297.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.1191, allocations: 269.6 kB / 297.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1191, allocations: 0.5 kB / 297.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1191, allocations: 11.16 kB / 297.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.1191, allocations: 7.094 kB / 297.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.1193, allocations: 96.83 kB / 297.6 MB, free: 15.18 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.0009635/0.1202, allocations: 0.6722 MB / 298.3 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.1204, allocations: 119 kB / 298.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.1205, allocations: 41.95 kB / 298.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.6e-05/0.1205, allocations: 15.02 kB / 298.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.1205, allocations: 40.2 kB / 298.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.413e-06/0.1205, allocations: 0 / 298.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004006/0.1209, allocations: 224.3 kB / 298.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.549e-05/0.1209, allocations: 55.95 kB / 298.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.1211, allocations: 282.5 kB / 299.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1211, allocations: 31.56 kB / 299.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.1212, allocations: 171.3 kB / 299.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.1212, allocations: 88.53 kB / 299.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/0.1213, allocations: 53.92 kB / 299.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.698e-05/0.1213, allocations: 346.4 kB / 299.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.682e-05/0.1214, allocations: 37.08 kB / 299.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-05/0.1215, allocations: 88.34 kB / 299.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.1216, allocations: 142.3 kB / 300 MB, free: 13.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.1216, allocations: 4.562 kB / 300 MB, free: 13.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001903/0.1218, allocations: 154.6 kB / 300.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1218, allocations: 6.125 kB / 300.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1218, allocations: 1.922 kB / 300.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1218, allocations: 4.422 kB / 300.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.1221, allocations: 84.02 kB / 300.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1221, allocations: 4.266 kB / 300.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.3e-05/0.1221, allocations: 23.66 kB / 300.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.1222, allocations: 15.36 kB / 300.3 MB, free: 13.5 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 9.992e-05/0.1223, allocations: 136.7 kB / 300.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.1223, allocations: 22.39 kB / 300.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.1225, allocations: 170.2 kB / 300.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1226, allocations: 2.344 kB / 300.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.1226, allocations: 1.625 kB / 300.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1226, allocations: 6 kB / 300.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.1228, allocations: 199.5 kB / 300.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1228, allocations: 0 / 300.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.123, allocations: 81.78 kB / 300.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.123, allocations: 1.094 kB / 300.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.123, allocations: 7.109 kB / 300.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.123, allocations: 3.734 kB / 300.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.123, allocations: 0.75 kB / 300.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.1233, allocations: 283.1 kB / 301.2 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/0.1233, allocations: 38.09 kB / 301.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.1234, allocations: 6.875 kB / 301.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.1234, allocations: 9.438 kB / 301.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.1235, allocations: 14.69 kB / 301.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.1235, allocations: 8.766 kB / 301.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.927e-05/0.1236, allocations: 106.8 kB / 301.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1236, allocations: 1.156 kB / 301.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003237/0.1239, allocations: 143.9 kB / 301.5 MB, free: 12.89 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.001065/0.125, allocations: 0.5064 MB / 302 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.1252, allocations: 126.2 kB / 302.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.1252, allocations: 2.906 kB / 302.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.664e-05/0.1252, allocations: 67.34 kB / 302.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.1255, allocations: 76.56 kB / 302.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009974/0.1265, allocations: 0.6542 MB / 302.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.127e-05/0.1265, allocations: 99.5 kB / 303 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.1267, allocations: 50.83 kB / 303.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.1268, allocations: 129.9 kB / 303.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1268, allocations: 0 / 303.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of Templates: time 0.007743/0.1346, allocations: 5.831 MB / 309.1 MB, free: 8.027 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.75967391487211]