Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009018/0.0009017, allocations: 99.31 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.001005/0.001005, allocations: 177.3 kB / 15.94 MB, free: 220 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.498/1.498, allocations: 205.4 MB / 222.1 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05107/0.05107, allocations: 11.83 MB / 282.2 MB, free: 9.492 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.0006096/0.0006099, allocations: 18.81 kB / 342.9 MB, free: 22.53 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09931/0.09993, allocations: 50.21 MB / 393.1 MB, free: 4.258 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.003322/0.1033, allocations: 2.543 MB / 395.6 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003047/0.1064, allocations: 2.091 MB / 397.7 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.1066, allocations: 4 kB / 397.7 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000328/0.1069, allocations: 87.55 kB / 397.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004632/0.1074, allocations: 215.3 kB / 398 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.1084, allocations: 346.7 kB / 398.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003629/0.1088, allocations: 263.4 kB / 398.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.1089, allocations: 45 kB / 398.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.1091, allocations: 119.5 kB / 398.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.1093, allocations: 135.4 kB / 398.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.1093, allocations: 15.94 kB / 398.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000425/0.1097, allocations: 243.7 kB / 399.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.986e-05/0.1099, allocations: 59.75 kB / 399.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.612e-05/0.1099, allocations: 73.58 kB / 399.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004285/0.1104, allocations: 359.1 kB / 399.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1104, allocations: 0 / 399.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1104, allocations: 7.938 kB / 399.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.1104, allocations: 0 / 399.7 MB, free: 13.66 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007659/0.1112, allocations: 0.5882 MB / 400.3 MB, free: 13.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1112, allocations: 8.031 kB / 400.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.164e-05/0.1113, allocations: 35.58 kB / 400.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.1116, allocations: 290.3 kB / 400.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.1117, allocations: 16.44 kB / 400.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.1117, allocations: 16 kB / 400.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.1121, allocations: 227.2 kB / 400.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1121, allocations: 4 kB / 400.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.1122, allocations: 4 kB / 400.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.1122, allocations: 7.938 kB / 400.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004359/0.1126, allocations: 257.5 kB / 401.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.1141, allocations: 1.321 MB / 402.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004921/0.1146, allocations: 186.8 kB / 402.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.1148, allocations: 166.2 kB / 402.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1149, allocations: 38.5 kB / 402.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.422e-06/0.1149, allocations: 0 / 402.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.02736/0.1422, allocations: 2.864 MB / 405.7 MB, free: 7.281 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.1423, allocations: 55.41 kB / 405.7 MB, free: 7.215 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 sine.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.0004752/0.1428, allocations: 353.5 kB / 406.1 MB, free: 6.863 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.866e-05/0.1429, allocations: 37.69 kB / 406.1 MB, free: 6.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.143, allocations: 168.8 kB / 406.3 MB, free: 6.648 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.1431, allocations: 110.4 kB / 406.4 MB, free: 6.539 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.1432, allocations: 4 kB / 406.4 MB, free: 6.535 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1433, allocations: 346.8 kB / 406.7 MB, free: 6.188 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008321/0.1442, allocations: 299.8 kB / 407 MB, free: 5.895 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008845/0.1451, allocations: 338.1 kB / 407.3 MB, free: 5.555 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008752/0.146, allocations: 303.7 kB / 407.6 MB, free: 5.258 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.146, allocations: 4 kB / 407.6 MB, free: 5.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.003272/0.1492, allocations: 0.9593 MB / 408.6 MB, free: 4.281 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.1493, allocations: 11.95 kB / 408.6 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.1493, allocations: 4 kB / 408.6 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002267/0.1516, allocations: 1.04 MB / 409.7 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.1519, allocations: 59.89 kB / 409.7 MB, free: 3.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00326/0.1552, allocations: 1.749 MB / 411.5 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006832/0.1559, allocations: 56 kB / 411.5 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.165e-05/0.156, allocations: 19.98 kB / 411.5 MB, free: 1.285 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002655/0.1562, allocations: 150.1 kB / 411.7 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.025e-05/0.1563, allocations: 39.53 kB / 411.7 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/0.1593, allocations: 0.9776 MB / 412.7 MB, free: 104 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.1594, allocations: 4 kB / 412.7 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.1594, allocations: 4.078 kB / 412.7 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1594, allocations: 0 / 412.7 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00501/0.1644, allocations: 1.869 MB / 414.6 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.1644, allocations: 0 / 414.6 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.1647, allocations: 63.89 kB / 414.6 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001873/0.1666, allocations: 0.8876 MB / 415.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.126e-05/0.1667, allocations: 15.98 kB / 415.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00302/0.1697, allocations: 1.682 MB / 417.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1697, allocations: 48 / 417.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/0.1722, allocations: 0.9314 MB / 418.2 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/0.1725, allocations: 184.5 kB / 418.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.189e-05/0.1726, allocations: 4 kB / 418.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/0.1732, allocations: 51.95 kB / 418.4 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.1733, allocations: 15.97 kB / 418.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.1733, allocations: 19.98 kB / 418.4 MB, free: 10.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002792/0.1736, allocations: 259.2 kB / 418.7 MB, free: 9.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1736, allocations: 0 / 418.7 MB, free: 9.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007276/0.1743, allocations: 227.9 kB / 418.9 MB, free: 9.707 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001305/0.1757, allocations: 0.5243 MB / 419.4 MB, free: 9.285 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002484/0.1782, allocations: 0.7067 MB / 420.1 MB, free: 8.578 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1782, allocations: 0 / 420.1 MB, free: 8.578 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001453/0.1796, allocations: 391.9 kB / 420.5 MB, free: 8.195 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.1801, allocations: 94.02 kB / 420.6 MB, free: 8.105 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.1817, allocations: 0.8768 MB / 421.5 MB, free: 7.191 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.182, allocations: 0.7925 MB / 422.3 MB, free: 6.375 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001984/0.1822, allocations: 50.92 kB / 422.3 MB, free: 6.328 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.228e-05/0.1823, allocations: 35.42 kB / 422.4 MB, free: 6.293 MB / 318.1 MB Notification: Performance of SimCode: time 9.71e-07/0.1823, allocations: 0 / 422.4 MB, free: 6.293 MB / 318.1 MB Notification: Performance of Templates: time 0.1899/0.3722, allocations: 15.84 MB / 438.2 MB, free: 38.79 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.makefile Environment - environmentSimulation: (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1) Environment - environmentSimulation: