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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05117/0.05117, allocations: 11.84 MB / 282.2 MB, free: 9.484 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006195/0.0006196, allocations: 18.5 kB / 342.9 MB, free: 22.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1075, allocations: 50.21 MB / 393.1 MB, free: 4.23 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.003775/0.1113, allocations: 3.026 MB / 396.1 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002863/0.1142, allocations: 1.732 MB / 397.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003472/0.1146, allocations: 4 kB / 397.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003786/0.115, allocations: 87.55 kB / 398 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005899/0.1156, allocations: 267.1 kB / 398.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006017/0.1162, allocations: 231.4 kB / 398.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004044/0.1166, allocations: 339.3 kB / 398.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.1168, allocations: 85.55 kB / 398.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.117, allocations: 139.5 kB / 399 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.1172, allocations: 167.3 kB / 399.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.1173, allocations: 16 kB / 399.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003462/0.1176, allocations: 191.8 kB / 399.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.192e-05/0.1177, allocations: 67.72 kB / 399.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.355e-05/0.1178, allocations: 101.5 kB / 399.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004413/0.1183, allocations: 427.2 kB / 399.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1183, allocations: 0 / 399.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1183, allocations: 0 / 399.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1183, allocations: 0 / 399.9 MB, free: 13.36 MB / 302.1 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.0009716/0.1193, allocations: 0.6271 MB / 400.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1193, allocations: 12.03 kB / 400.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.1194, allocations: 43.48 kB / 400.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.1199, allocations: 322.2 kB / 400.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.1199, allocations: 24.5 kB / 401 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/0.12, allocations: 24 kB / 401 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005265/0.1205, allocations: 323.6 kB / 401.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1206, allocations: 0 / 401.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/0.1206, allocations: 12 kB / 401.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.1206, allocations: 7.953 kB / 401.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/0.1211, allocations: 270 kB / 401.6 MB, free: 11.62 MB / 302.1 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.00197/0.1231, allocations: 1.473 MB / 403.1 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005676/0.1237, allocations: 242.6 kB / 403.3 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.1238, allocations: 89.09 kB / 403.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.1238, allocations: 42.55 kB / 403.4 MB, free: 9.578 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.332e-06/0.1238, allocations: 0 / 403.4 MB, free: 9.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.002025/0.1258, allocations: 0.9035 MB / 404.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.1259, allocations: 55.41 kB / 404.4 MB, free: 8.559 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sinusoid.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004171/0.1263, allocations: 377.6 kB / 404.7 MB, free: 8.184 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.1264, allocations: 29.7 kB / 404.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.1265, allocations: 180.6 kB / 405 MB, free: 7.965 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.61e-05/0.1266, allocations: 106.5 kB / 405.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.411e-05/0.1266, allocations: 4 kB / 405.1 MB, free: 7.855 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1267, allocations: 342.8 kB / 405.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.1269, allocations: 105.4 kB / 405.5 MB, free: 7.406 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.1272, allocations: 152.8 kB / 405.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.1274, allocations: 115.8 kB / 405.8 MB, free: 7.117 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1274, allocations: 0 / 405.8 MB, free: 7.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005481/0.128, allocations: 313.2 kB / 406.1 MB, free: 6.805 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.128, allocations: 11.95 kB / 406.1 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.128, allocations: 0 / 406.1 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.128, allocations: 8.422 kB / 406.1 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.1284, allocations: 79.89 kB / 406.2 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1284, allocations: 7.984 kB / 406.2 MB, free: 6.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.1286, allocations: 19.92 kB / 406.2 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.1286, allocations: 15.97 kB / 406.2 MB, free: 6.664 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002164/0.1288, allocations: 169.8 kB / 406.4 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.348e-05/0.1289, allocations: 35.53 kB / 406.4 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006417/0.1296, allocations: 329.8 kB / 406.7 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1296, allocations: 7.984 kB / 406.7 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1296, allocations: 0 / 406.7 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1296, allocations: 0 / 406.7 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.1307, allocations: 0.7563 MB / 407.5 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.1307, allocations: 3.953 kB / 407.5 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.131, allocations: 83.83 kB / 407.6 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.131, allocations: 0 / 407.6 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.1311, allocations: 11.98 kB / 407.6 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1311, allocations: 0 / 407.6 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1311, allocations: 4 kB / 407.6 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000784/0.1319, allocations: 0.4989 MB / 408.1 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.132, allocations: 148.6 kB / 408.2 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/0.1321, allocations: 8.062 kB / 408.2 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.1323, allocations: 12 kB / 408.3 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.1324, allocations: 23.97 kB / 408.3 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.1324, allocations: 11.98 kB / 408.3 MB, free: 4.469 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002844/0.1327, allocations: 271.2 kB / 408.6 MB, free: 4.203 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1327, allocations: 0 / 408.6 MB, free: 4.203 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004644/0.1332, allocations: 116 kB / 408.7 MB, free: 4.09 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000957/0.1341, allocations: 416.4 kB / 409.1 MB, free: 3.785 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004951/0.1346, allocations: 247.6 kB / 409.3 MB, free: 3.543 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1346, allocations: 0 / 409.3 MB, free: 3.543 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.1349, allocations: 124.8 kB / 409.4 MB, free: 3.422 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.1354, allocations: 93.81 kB / 409.5 MB, free: 3.332 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.1367, allocations: 0.9397 MB / 410.5 MB, free: 2.359 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.1371, allocations: 0.8068 MB / 411.3 MB, free: 1.527 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002194/0.1374, allocations: 63.19 kB / 411.3 MB, free: 1.469 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.015e-05/0.1375, allocations: 39.42 kB / 411.4 MB, free: 1.43 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1375, allocations: 0 / 411.4 MB, free: 1.43 MB / 302.1 MB Notification: Performance of Templates: time 0.009581/0.147, allocations: 5.549 MB / 416.9 MB, free: 11.89 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.makefile Environment - environmentSimulation: (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=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1) Environment - environmentSimulation: