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.001851/0.001851, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.002161/0.002161, allocations: 219.6 kB / 22.25 MB, free: 3.578 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 1.631/1.631, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 178] 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.06867/0.06867, allocations: 11.34 MB / 323.8 MB, free: 6.777 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: OpenHydraulics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003837/0.003837, allocations: 59.91 kB / 451.2 MB, free: 35.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08714/0.09098, allocations: 55.96 MB / 0.4953 GB, free: 11.19 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.005835/0.09681, allocations: 3.053 MB / 0.4983 GB, free: 8.113 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00456/0.1014, allocations: 2.041 MB / 0.5003 GB, free: 6.066 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003178/0.1017, allocations: 7.938 kB / 0.5003 GB, free: 6.059 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005165/0.1022, allocations: 107.3 kB / 0.5004 GB, free: 5.953 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007567/0.103, allocations: 250.5 kB / 0.5006 GB, free: 5.707 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.104, allocations: 361.8 kB / 0.501 GB, free: 5.355 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008054/0.1048, allocations: 0.5134 MB / 0.5015 GB, free: 4.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003135/0.1051, allocations: 64.78 kB / 0.5015 GB, free: 4.777 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005437/0.1057, allocations: 203.3 kB / 0.5017 GB, free: 4.578 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.1061, allocations: 187.1 kB / 0.5019 GB, free: 4.395 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.175e-05/0.1061, allocations: 32 kB / 0.5019 GB, free: 4.363 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005677/0.1067, allocations: 243.8 kB / 0.5022 GB, free: 4.125 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.1068, allocations: 91.61 kB / 0.5022 GB, free: 4.035 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.107, allocations: 167.2 kB / 0.5024 GB, free: 3.867 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.1081, allocations: 0.6111 MB / 0.503 GB, free: 3.254 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1081, allocations: 0 / 0.503 GB, free: 3.254 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1081, allocations: 0 / 0.503 GB, free: 3.254 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.1081, allocations: 0 / 0.503 GB, free: 3.254 MB / 362.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.001377/0.1095, allocations: 0.6525 MB / 0.5036 GB, free: 2.566 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.1095, allocations: 11.98 kB / 0.5037 GB, free: 2.555 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.1098, allocations: 56.64 kB / 0.5037 GB, free: 2.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000532/0.1103, allocations: 286.1 kB / 0.504 GB, free: 2.199 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.741e-05/0.1103, allocations: 24.66 kB / 0.504 GB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.456e-05/0.1104, allocations: 24 kB / 0.504 GB, free: 2.152 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007668/0.1112, allocations: 354.7 kB / 0.5044 GB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.1112, allocations: 0 / 0.5044 GB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.1112, allocations: 12 kB / 0.5044 GB, free: 1.773 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.1113, allocations: 8 kB / 0.5044 GB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008496/0.1121, allocations: 254.5 kB / 0.5046 GB, free: 1.52 MB / 362.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.002016/0.1141, allocations: 0.9017 MB / 0.5055 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.1146, allocations: 226.4 kB / 0.5057 GB, free: 356 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.1148, allocations: 84.81 kB / 0.5058 GB, free: 268 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.399e-05/0.1149, allocations: 12 kB / 0.5058 GB, free: 256 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.1149, allocations: 42.36 kB / 0.5059 GB, free: 204 kB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.1149, allocations: 0 / 0.5059 GB, free: 204 kB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.002739/0.1177, allocations: 0.7825 MB / 0.5066 GB, free: 15.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.1178, allocations: 63.62 kB / 0.5067 GB, free: 15.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005606/0.1183, allocations: 332.4 kB / 0.507 GB, free: 14.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.1184, allocations: 29.7 kB / 0.507 GB, free: 14.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.1187, allocations: 201 kB / 0.5072 GB, free: 14.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.1188, allocations: 107.1 kB / 0.5073 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.119, allocations: 53.98 kB / 0.5074 GB, free: 14.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002404/0.1192, allocations: 342.8 kB / 0.5077 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.1195, allocations: 109.9 kB / 0.5078 GB, free: 14.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/0.1198, allocations: 152.8 kB / 0.5079 GB, free: 13.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/0.1203, allocations: 251.5 kB / 0.5082 GB, free: 13.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.1203, allocations: 4 kB / 0.5082 GB, free: 13.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006827/0.121, allocations: 312.3 kB / 0.5085 GB, free: 13.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.121, allocations: 12.22 kB / 0.5085 GB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.121, allocations: 0 / 0.5085 GB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/0.1211, allocations: 7.938 kB / 0.5085 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.1215, allocations: 83.88 kB / 0.5086 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.1215, allocations: 4 kB / 0.5086 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.1216, allocations: 12 kB / 0.5086 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.1217, allocations: 11.98 kB / 0.5086 GB, free: 13.23 MB / 378.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: 9 * 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 (34): * Single equations (assignments): 34 * 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.0003173/0.122, allocations: 177.7 kB / 0.5088 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-05/0.1221, allocations: 31.81 kB / 0.5088 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008013/0.1229, allocations: 320.5 kB / 0.5091 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1229, allocations: 4 kB / 0.5091 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1229, allocations: 0 / 0.5091 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1229, allocations: 0 / 0.5091 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.1241, allocations: 0.6352 MB / 0.5097 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1241, allocations: 4 kB / 0.5097 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.1245, allocations: 71.89 kB / 0.5098 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1245, allocations: 0 / 0.5098 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.1245, allocations: 11.98 kB / 0.5098 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1245, allocations: 0 / 0.5098 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1246, allocations: 3.938 kB / 0.5098 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000974/0.1255, allocations: 0.4929 MB / 0.5103 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.1257, allocations: 55.7 kB / 0.5104 GB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.1257, allocations: 4 kB / 0.5104 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.1259, allocations: 12 kB / 0.5104 GB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/0.126, allocations: 27.95 kB / 0.5104 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.126, allocations: 7.938 kB / 0.5104 GB, free: 11.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003124/0.1263, allocations: 243 kB / 0.5106 GB, free: 11.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1263, allocations: 0 / 0.5106 GB, free: 11.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005275/0.1268, allocations: 123.8 kB / 0.5108 GB, free: 10.96 MB / 378.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 (30): * Single equations (assignments): 30 * 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.002682/0.1295, allocations: 440.8 kB / 0.5112 GB, free: 10.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006195/0.1302, allocations: 219.8 kB / 0.5114 GB, free: 10.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1302, allocations: 0 / 0.5114 GB, free: 10.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.1304, allocations: 115.8 kB / 0.5115 GB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.131, allocations: 73.42 kB / 0.5116 GB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.1326, allocations: 0.808 MB / 0.5124 GB, free: 9.438 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.1329, allocations: 198.5 kB / 0.5126 GB, free: 9.227 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002185/0.1331, allocations: 54.94 kB / 0.5126 GB, free: 9.172 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.1332, allocations: 35.42 kB / 0.5126 GB, free: 9.137 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1332, allocations: 0 / 0.5126 GB, free: 9.137 MB / 378.7 MB Notification: Performance of Templates: time 0.01285/0.146, allocations: 5.661 MB / 0.5182 GB, free: 3.555 MB / 378.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: 5.372038425179198]