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.0008981/0.0008981, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.000959/0.000959, allocations: 176.8 kB / 16.27 MB, free: 6.664 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.424/1.424, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05476/0.05476, allocations: 11.85 MB / 282.6 MB, free: 9.367 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.0005908/0.0005908, allocations: 20 kB / 343.5 MB, free: 22.11 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09783/0.09843, allocations: 50.22 MB / 393.8 MB, free: 3.848 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002529/0.101, allocations: 1.904 MB / 395.7 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003116/0.1042, allocations: 1.917 MB / 397.6 MB, free: 4 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.1044, allocations: 4 kB / 397.6 MB, free: 0 / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.1046, allocations: 39.94 kB / 397.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.105, allocations: 83.28 kB / 397.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007394/0.1057, allocations: 262.8 kB / 398 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.1059, allocations: 167.1 kB / 398.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.93e-05/0.106, allocations: 21.55 kB / 398.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.862e-05/0.106, allocations: 55.78 kB / 398.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.722e-05/0.1061, allocations: 59.72 kB / 398.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.1061, allocations: 8 kB / 398.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.1065, allocations: 231.7 kB / 398.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.1065, allocations: 15.92 kB / 398.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.206e-05/0.1066, allocations: 105.2 kB / 398.6 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.107, allocations: 271.6 kB / 398.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1071, allocations: 0 / 398.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1071, allocations: 0 / 398.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1071, allocations: 0 / 398.9 MB, free: 14.7 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.0004922/0.1076, allocations: 446.9 kB / 399.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1076, allocations: 8.031 kB / 399.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.1077, allocations: 16.75 kB / 399.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.1079, allocations: 220 kB / 399.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.108, allocations: 8.375 kB / 399.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.108, allocations: 12.12 kB / 399.6 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.1082, allocations: 121.6 kB / 399.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.1083, allocations: 0 / 399.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1083, allocations: 0 / 399.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.1083, allocations: 4 kB / 399.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002083/0.1085, allocations: 123.9 kB / 399.8 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.1096, allocations: 0.9266 MB / 400.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.1098, allocations: 54.56 kB / 400.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.1098, allocations: 24.97 kB / 400.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.1099, allocations: 93.03 kB / 400.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.11, allocations: 34.56 kB / 400.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.11, allocations: 3.938 kB / 400.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002833/0.1103, allocations: 105.4 kB / 401 MB, free: 12.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.1103, allocations: 55.39 kB / 401.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.1105, allocations: 203.8 kB / 401.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.1105, allocations: 25.7 kB / 401.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.266e-05/0.1106, allocations: 123.8 kB / 401.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.1107, allocations: 19.75 kB / 401.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.1107, allocations: 13.72 kB / 401.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1108, allocations: 330.8 kB / 401.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.856e-05/0.1109, allocations: 27.98 kB / 401.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.545e-05/0.111, allocations: 27.98 kB / 401.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.1111, allocations: 64.78 kB / 401.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1111, allocations: 0 / 401.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000193/0.1113, allocations: 113.5 kB / 402 MB, free: 11.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1113, allocations: 4 kB / 402 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1113, allocations: 0 / 402 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1114, allocations: 0 / 402 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.923e-05/0.1115, allocations: 27.95 kB / 402.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1115, allocations: 0 / 402.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.297e-05/0.1116, allocations: 11.84 kB / 402.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.1116, allocations: 8 kB / 402.1 MB, free: 11.14 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.903e-05/0.1117, allocations: 118.9 kB / 402.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.1117, allocations: 15.81 kB / 402.2 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.112, allocations: 110.5 kB / 402.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.112, allocations: 0 / 402.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.112, allocations: 3.984 kB / 402.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.112, allocations: 0 / 402.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.1125, allocations: 395.2 kB / 402.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1125, allocations: 0 / 402.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.1125, allocations: 8 kB / 402.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1126, allocations: 0 / 402.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1126, allocations: 0 / 402.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1126, allocations: 8.031 kB / 402.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1126, allocations: 320 / 402.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.1128, allocations: 192.1 kB / 402.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-05/0.1129, allocations: 112.8 kB / 403 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.1129, allocations: 3.984 kB / 403 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.113, allocations: 0 / 403 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.113, allocations: 7.938 kB / 403 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.113, allocations: 8 kB / 403 MB, free: 10.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.1132, allocations: 159 kB / 403.2 MB, free: 9.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1132, allocations: 0 / 403.2 MB, free: 9.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003962/0.1136, allocations: 75.98 kB / 403.3 MB, free: 9.836 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 (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.0003215/0.1139, allocations: 175.1 kB / 403.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.1141, allocations: 59.91 kB / 403.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1141, allocations: 4 kB / 403.5 MB, free: 9.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.66e-05/0.1142, allocations: 20 kB / 403.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.1146, allocations: 40.09 kB / 403.6 MB, free: 9.531 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005331/0.1152, allocations: 326.7 kB / 403.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.1154, allocations: 0.7126 MB / 404.6 MB, free: 8.449 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.276e-05/0.1155, allocations: 21.67 kB / 404.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/0.1156, allocations: 23.44 kB / 404.6 MB, free: 8.406 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1156, allocations: 3.938 kB / 404.6 MB, free: 8.402 MB / 302.1 MB Notification: Performance of Templates: time 0.006217/0.1218, allocations: 3.173 MB / 407.8 MB, free: 5.262 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: