Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.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.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001747/0.001748, allocations: 194.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05398/0.05398, allocations: 11.84 MB / 281.3 MB, free: 9.594 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.001894/0.001894, allocations: 71.84 kB / 341.3 MB, free: 22.31 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1127, allocations: 49.22 MB / 390.5 MB, free: 5.043 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.005278/0.1181, allocations: 3.036 MB / 393.6 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1193, allocations: 0.7408 MB / 394.3 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1195, allocations: 7.938 kB / 394.3 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.1197, allocations: 23.84 kB / 394.3 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003825/0.1201, allocations: 99.34 kB / 394.4 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.1202, allocations: 39.09 kB / 394.5 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002958/0.1205, allocations: 262.7 kB / 394.7 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.1207, allocations: 49.66 kB / 394.8 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1208, allocations: 91.64 kB / 394.9 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.121, allocations: 103.5 kB / 395 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.121, allocations: 16 kB / 395 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.319e-05/0.1211, allocations: 35.92 kB / 395 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.068e-05/0.1212, allocations: 27.92 kB / 395.1 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.1213, allocations: 111.5 kB / 395.2 MB, free: 396 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.1215, allocations: 207.5 kB / 395.4 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1215, allocations: 0 / 395.4 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1215, allocations: 3.938 kB / 395.4 MB, free: 184 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1215, allocations: 0 / 395.4 MB, free: 184 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006623/0.1222, allocations: 0.4964 MB / 395.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1223, allocations: 15.88 kB / 395.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.1224, allocations: 20.75 kB / 395.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.1226, allocations: 232 kB / 396.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1226, allocations: 12.38 kB / 396.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.1227, allocations: 20.12 kB / 396.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.123, allocations: 183.7 kB / 396.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.123, allocations: 0 / 396.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.1231, allocations: 8 kB / 396.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.443e-06/0.1231, allocations: 4 kB / 396.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.1233, allocations: 120.9 kB / 396.5 MB, free: 14.98 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.001163/0.1245, allocations: 0.9335 MB / 397.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.1248, allocations: 154.7 kB / 397.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.1249, allocations: 60.83 kB / 397.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.1249, allocations: 4 kB / 397.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.125, allocations: 34.56 kB / 397.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.125, allocations: 0 / 397.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001781/0.1267, allocations: 0.7661 MB / 398.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.1268, allocations: 85.05 kB / 398.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.127, allocations: 170.7 kB / 398.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.127, allocations: 29.7 kB / 398.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.596e-05/0.1271, allocations: 128.3 kB / 398.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.1271, allocations: 67 kB / 398.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-05/0.1272, allocations: 45.69 kB / 398.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1274, allocations: 326.8 kB / 399.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.1275, allocations: 64.81 kB / 399.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.1277, allocations: 92.25 kB / 399.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.128, allocations: 218.1 kB / 399.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.128, allocations: 0 / 399.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004004/0.1284, allocations: 230.9 kB / 399.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/0.1285, allocations: 33.7 kB / 399.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.1285, allocations: 3.938 kB / 399.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1285, allocations: 4 kB / 399.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.1288, allocations: 63.98 kB / 399.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1288, allocations: 0 / 399.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.129, allocations: 19.94 kB / 400 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.129, allocations: 7.984 kB / 400 MB, free: 11.16 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: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0002157/0.1292, allocations: 156.4 kB / 400.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.1293, allocations: 19.81 kB / 400.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004763/0.1297, allocations: 261.1 kB / 400.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1298, allocations: 4 kB / 400.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1298, allocations: 0 / 400.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1298, allocations: 0 / 400.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000762/0.1305, allocations: 0.578 MB / 401 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1306, allocations: 0 / 401 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.1308, allocations: 59.95 kB / 401 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.1308, allocations: 3.938 kB / 401 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1309, allocations: 4 kB / 401 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1309, allocations: 4 kB / 401.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1309, allocations: 0 / 401.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000591/0.1315, allocations: 408.7 kB / 401.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.1316, allocations: 108.8 kB / 401.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.1316, allocations: 4 kB / 401.6 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.1318, allocations: 12 kB / 401.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.1318, allocations: 11.97 kB / 401.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.1319, allocations: 11.94 kB / 401.6 MB, free: 9.398 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.132, allocations: 131.2 kB / 401.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.132, allocations: 0 / 401.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003002/0.1323, allocations: 52 kB / 401.8 MB, free: 9.219 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealPump.phi) * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0001483/0.1325, allocations: 123.2 kB / 401.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000424/0.1329, allocations: 222 kB / 402.1 MB, free: 8.863 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1329, allocations: 0 / 402.1 MB, free: 8.863 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.1331, allocations: 143.2 kB / 402.3 MB, free: 8.711 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.1335, allocations: 56.17 kB / 402.3 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008764/0.1344, allocations: 0.5436 MB / 402.8 MB, free: 8.086 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.1347, allocations: 0.7365 MB / 403.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.1348, allocations: 25.88 kB / 403.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/0.1349, allocations: 31.42 kB / 403.6 MB, free: 7.266 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1349, allocations: 0 / 403.6 MB, free: 7.266 MB / 302.1 MB Notification: Performance of Templates: time 0.00562/0.1405, allocations: 2.658 MB / 406.3 MB, free: 4.641 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1)