Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009463/0.0009464, allocations: 100.1 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.0011/0.0011, 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.513/1.513, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05362/0.05362, allocations: 11.84 MB / 282.2 MB, free: 9.715 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.000544/0.000544, allocations: 18.81 kB / 342.9 MB, free: 22.54 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0958/0.09636, allocations: 50.22 MB / 393.1 MB, free: 4.27 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002072/0.09848, allocations: 1.726 MB / 394.8 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.1006, allocations: 1.692 MB / 396.5 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.389e-05/0.1007, allocations: 0 / 396.5 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.1008, allocations: 31.81 kB / 396.5 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.1011, allocations: 119.6 kB / 396.7 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004929/0.1016, allocations: 255.3 kB / 396.9 MB, free: 444 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.1018, allocations: 127.7 kB / 397 MB, free: 316 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.249e-05/0.1019, allocations: 25.55 kB / 397.1 MB, free: 292 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6e-05/0.1019, allocations: 51.84 kB / 397.1 MB, free: 240 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.142e-05/0.102, allocations: 59.7 kB / 397.2 MB, free: 180 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.1021, allocations: 8 kB / 397.2 MB, free: 172 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/0.1024, allocations: 211.7 kB / 397.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.1025, allocations: 23.91 kB / 397.4 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.1025, allocations: 53.64 kB / 397.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.1028, allocations: 195.9 kB / 397.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.1028, allocations: 0 / 397.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1028, allocations: 0 / 397.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1028, allocations: 4 kB / 397.7 MB, free: 15.68 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004651/0.1033, allocations: 450.6 kB / 398.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1033, allocations: 12.02 kB / 398.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.1034, allocations: 15.81 kB / 398.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.1036, allocations: 202.8 kB / 398.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1036, allocations: 8 kB / 398.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.1036, allocations: 12 kB / 398.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.1039, allocations: 121.6 kB / 398.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.1039, allocations: 0 / 398.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.1039, allocations: 12 kB / 398.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1039, allocations: 0 / 398.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.1041, allocations: 119.9 kB / 398.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.1052, allocations: 0.9188 MB / 399.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.1053, allocations: 66.5 kB / 399.6 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.1054, allocations: 85.09 kB / 399.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.1054, allocations: 30.56 kB / 399.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1054, allocations: 3.938 kB / 399.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002814/0.1057, allocations: 97.7 kB / 399.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.1058, allocations: 51.41 kB / 399.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.106, allocations: 211.7 kB / 400 MB, free: 12.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.106, allocations: 25.7 kB / 400.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.964e-05/0.1061, allocations: 124 kB / 400.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.1061, allocations: 19.73 kB / 400.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/0.1061, allocations: 0 / 400.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1062, allocations: 330.8 kB / 400.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.519e-05/0.1063, allocations: 23.94 kB / 400.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.662e-05/0.1064, allocations: 31.98 kB / 400.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.05e-05/0.1064, allocations: 31.94 kB / 400.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1065, allocations: 4.031 kB / 400.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001751/0.1066, allocations: 117.4 kB / 400.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1067, allocations: 4 kB / 400.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1067, allocations: 0 / 400.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1067, allocations: 0 / 400.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.504e-05/0.1068, allocations: 23.92 kB / 400.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1068, allocations: 0 / 400.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.115e-05/0.1069, allocations: 15.84 kB / 400.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.1069, allocations: 4.25 kB / 400.8 MB, free: 12.21 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * 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 8.883e-05/0.107, allocations: 129.7 kB / 400.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.107, allocations: 15.81 kB / 400.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.1073, allocations: 102.9 kB / 401 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1073, allocations: 3.984 kB / 401 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1073, allocations: 0 / 401 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1073, allocations: 0 / 401 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/0.1077, allocations: 387.2 kB / 401.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.1077, allocations: 8.031 kB / 401.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.1078, allocations: 8 kB / 401.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1078, allocations: 0 / 401.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1078, allocations: 7.984 kB / 401.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1078, allocations: 0 / 401.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1078, allocations: 4 kB / 401.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.108, allocations: 197.9 kB / 401.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.328e-05/0.1081, allocations: 108.8 kB / 401.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.1081, allocations: 4 kB / 401.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.1082, allocations: 0 / 401.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.1082, allocations: 4 kB / 401.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.1082, allocations: 3.984 kB / 401.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1084, allocations: 155 kB / 401.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1084, allocations: 0 / 401.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003218/0.1087, allocations: 79.98 kB / 402 MB, free: 10.9 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.000262/0.109, allocations: 175.1 kB / 402.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.1091, allocations: 67.86 kB / 402.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1091, allocations: 3.938 kB / 402.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.699e-05/0.1092, allocations: 23.92 kB / 402.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.1095, allocations: 40.17 kB / 402.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004377/0.1099, allocations: 310.6 kB / 402.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.1102, allocations: 0.7127 MB / 403.3 MB, free: 9.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.651e-05/0.1102, allocations: 21.72 kB / 403.3 MB, free: 9.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.1103, allocations: 19.44 kB / 403.3 MB, free: 9.48 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1103, allocations: 3.938 kB / 403.3 MB, free: 9.477 MB / 302.1 MB Notification: Performance of Templates: time 0.005656/0.116, allocations: 3.091 MB / 406.4 MB, free: 6.426 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.makefile Environment - environmentSimulation: (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1) Environment - environmentSimulation: