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.0009959/0.000996, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008809/0.000881, allocations: 168.7 kB / 15.95 MB, free: 204 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.754/1.754, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0553/0.0553, allocations: 11.85 MB / 282.2 MB, free: 9.469 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.0006059/0.0006059, allocations: 16 kB / 342.9 MB, free: 22.47 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1137, allocations: 50.21 MB / 393.1 MB, free: 4.211 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.003281/0.117, allocations: 2.577 MB / 395.7 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.1186, allocations: 0.71 MB / 396.4 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.1189, allocations: 4 kB / 396.4 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.1191, allocations: 23.77 kB / 396.5 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005653/0.1197, allocations: 135 kB / 396.6 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.1199, allocations: 43.95 kB / 396.6 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003503/0.1202, allocations: 230.8 kB / 396.9 MB, free: 484 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.1204, allocations: 45.64 kB / 396.9 MB, free: 436 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.1206, allocations: 79.66 kB / 397 MB, free: 356 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.1208, allocations: 87.62 kB / 397.1 MB, free: 268 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.1208, allocations: 8 kB / 397.1 MB, free: 260 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.121, allocations: 19.98 kB / 397.1 MB, free: 240 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.25e-05/0.121, allocations: 27.86 kB / 397.1 MB, free: 212 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.268e-05/0.1211, allocations: 65.62 kB / 397.2 MB, free: 140 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.1213, allocations: 147.9 kB / 397.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.1213, allocations: 0 / 397.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1214, allocations: 0 / 397.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.1214, allocations: 0 / 397.3 MB, free: 15.99 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007379/0.1221, allocations: 480.2 kB / 397.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1222, allocations: 8.031 kB / 397.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002259/0.1224, allocations: 23.77 kB / 397.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.1228, allocations: 234.6 kB / 398.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1228, allocations: 16 kB / 398.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.1228, allocations: 19.94 kB / 398.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.1232, allocations: 183.8 kB / 398.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1232, allocations: 0 / 398.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.1233, allocations: 4 kB / 398.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.1233, allocations: 4 kB / 398.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002644/0.1236, allocations: 136.8 kB / 398.4 MB, free: 14.8 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.001315/0.1249, allocations: 0.9258 MB / 399.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.1252, allocations: 150.7 kB / 399.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.1253, allocations: 64.83 kB / 399.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1254, allocations: 11.98 kB / 399.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1254, allocations: 30.56 kB / 399.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.753e-06/0.1254, allocations: 0 / 399.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001885/0.1273, allocations: 0.7799 MB / 400.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.1274, allocations: 85.11 kB / 400.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1275, allocations: 182.5 kB / 400.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.1276, allocations: 37.7 kB / 400.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1277, allocations: 128.3 kB / 400.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.1278, allocations: 66.95 kB / 400.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.1278, allocations: 4 kB / 400.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1279, allocations: 322.8 kB / 401.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.1281, allocations: 69 kB / 401.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.1283, allocations: 100.2 kB / 401.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.1284, allocations: 91.88 kB / 401.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1284, allocations: 4 kB / 401.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004259/0.1289, allocations: 242.9 kB / 401.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.078e-05/0.1289, allocations: 33.7 kB / 401.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.129, allocations: 0 / 401.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.129, allocations: 4 kB / 401.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.1293, allocations: 63.98 kB / 401.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.1293, allocations: 4 kB / 401.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.1295, allocations: 11.95 kB / 401.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.1295, allocations: 8 kB / 401.8 MB, free: 11.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002649/0.1298, allocations: 167.4 kB / 402 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.1298, allocations: 15.81 kB / 402 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005246/0.1303, allocations: 277 kB / 402.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1304, allocations: 4 kB / 402.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1304, allocations: 0 / 402.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1304, allocations: 0 / 402.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008611/0.1313, allocations: 0.5899 MB / 402.8 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1313, allocations: 0 / 402.8 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.1315, allocations: 55.97 kB / 402.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1315, allocations: 0 / 402.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.1316, allocations: 11.98 kB / 402.9 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1316, allocations: 0 / 402.9 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1316, allocations: 3.953 kB / 402.9 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006282/0.1322, allocations: 416.8 kB / 403.3 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.1323, allocations: 112.8 kB / 403.4 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.1324, allocations: 4 kB / 403.4 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.1325, allocations: 8 kB / 403.4 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.1326, allocations: 15.97 kB / 403.5 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1326, allocations: 11.95 kB / 403.5 MB, free: 9.312 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.1327, allocations: 131.2 kB / 403.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1327, allocations: 0 / 403.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003218/0.1331, allocations: 52.06 kB / 403.6 MB, free: 9.133 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 (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.0001683/0.1332, allocations: 119.1 kB / 403.8 MB, free: 9.008 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004173/0.1337, allocations: 213 kB / 404 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1337, allocations: 0 / 404 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.1339, allocations: 151.3 kB / 404.1 MB, free: 8.629 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.1343, allocations: 40.17 kB / 404.2 MB, free: 8.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009714/0.1353, allocations: 0.6035 MB / 404.8 MB, free: 7.961 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.1356, allocations: 0.7328 MB / 405.5 MB, free: 7.203 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001322/0.1358, allocations: 29.92 kB / 405.5 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.616e-05/0.1358, allocations: 19.44 kB / 405.5 MB, free: 7.152 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1358, allocations: 0 / 405.5 MB, free: 7.152 MB / 302.1 MB Notification: Performance of Templates: time 0.006496/0.1423, allocations: 2.449 MB / 408 MB, free: 4.738 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: