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.001064/0.001064, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001167/0.001167, allocations: 188.8 kB / 16.25 MB, free: 6.59 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.352/1.352, allocations: 205.1 MB / 222.1 MB, free: 4.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05426/0.05426, allocations: 11.83 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.001382/0.001382, allocations: 71.72 kB / 341.3 MB, free: 22.33 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0832/0.08459, allocations: 49.24 MB / 390.6 MB, free: 5.047 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.003154/0.08779, allocations: 2.25 MB / 392.8 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.09006, allocations: 1.881 MB / 394.7 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.09019, allocations: 4 kB / 394.7 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.09042, allocations: 43.73 kB / 394.7 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.09068, allocations: 79.47 kB / 394.8 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006234/0.09131, allocations: 303.4 kB / 395.1 MB, free: 476 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.09149, allocations: 175.1 kB / 395.3 MB, free: 300 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.0916, allocations: 29.53 kB / 395.3 MB, free: 272 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.502e-05/0.09167, allocations: 55.8 kB / 395.4 MB, free: 216 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.714e-05/0.09177, allocations: 67.69 kB / 395.4 MB, free: 148 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.09179, allocations: 15.94 kB / 395.4 MB, free: 132 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003903/0.09219, allocations: 223.8 kB / 395.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.09224, allocations: 27.91 kB / 395.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.245e-05/0.09232, allocations: 83.55 kB / 395.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.09268, allocations: 279.3 kB / 396 MB, free: 15.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.09269, allocations: 0 / 396 MB, free: 15.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.0927, allocations: 0 / 396 MB, free: 15.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.09271, allocations: 0 / 396 MB, free: 15.53 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.0005034/0.09322, allocations: 466.8 kB / 396.5 MB, free: 15.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.09325, allocations: 15.89 kB / 396.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.09331, allocations: 16.75 kB / 396.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.09351, allocations: 220 kB / 396.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.09355, allocations: 16.38 kB / 396.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.09357, allocations: 12.12 kB / 396.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.09379, allocations: 117.6 kB / 396.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.09381, allocations: 0 / 396.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.09383, allocations: 11.94 kB / 396.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.09384, allocations: 0 / 396.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.09404, allocations: 115.9 kB / 397 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.09511, allocations: 0.9227 MB / 397.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.09526, allocations: 58.56 kB / 398 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.959e-05/0.09533, allocations: 24.97 kB / 398 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.09545, allocations: 93.03 kB / 398.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.09548, allocations: 34.56 kB / 398.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.09549, allocations: 0 / 398.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002747/0.09577, allocations: 105.4 kB / 398.2 MB, free: 13.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.09581, allocations: 51.41 kB / 398.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.096, allocations: 203.8 kB / 398.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.09602, allocations: 25.7 kB / 398.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.235e-05/0.09611, allocations: 127.8 kB / 398.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.09613, allocations: 11.81 kB / 398.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.09619, allocations: 37.7 kB / 398.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.0963, allocations: 322.8 kB / 399 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.25e-05/0.09637, allocations: 31.98 kB / 399 MB, free: 12.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.808e-05/0.09644, allocations: 27.98 kB / 399.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.09656, allocations: 56.8 kB / 399.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.09656, allocations: 0 / 399.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001825/0.09675, allocations: 121.6 kB / 399.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.09677, allocations: 4 kB / 399.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.09678, allocations: 96 / 399.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.0968, allocations: 7.969 kB / 399.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.344e-05/0.0969, allocations: 19.98 kB / 399.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.09692, allocations: 0 / 399.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.798e-05/0.09699, allocations: 19.83 kB / 399.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.09701, allocations: 4 kB / 399.3 MB, free: 11.93 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.62e-05/0.09711, allocations: 122.7 kB / 399.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.09715, allocations: 15.81 kB / 399.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.09739, allocations: 102.6 kB / 399.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.09741, allocations: 0 / 399.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.09741, allocations: 0 / 399.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.09742, allocations: 0 / 399.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004306/0.09786, allocations: 395.4 kB / 399.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.09787, allocations: 4 kB / 399.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.042e-05/0.09793, allocations: 11.98 kB / 399.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.09793, allocations: 0 / 399.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.09795, allocations: 8 kB / 399.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.09796, allocations: 7.969 kB / 399.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.09797, allocations: 0 / 399.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.09815, allocations: 192.1 kB / 400.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.09823, allocations: 96.91 kB / 400.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.09826, allocations: 0 / 400.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/0.09834, allocations: 0 / 400.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.09837, allocations: 11.94 kB / 400.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.09838, allocations: 0 / 400.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.09852, allocations: 163 kB / 400.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09853, allocations: 0 / 400.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003444/0.09888, allocations: 79.94 kB / 400.5 MB, free: 10.63 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.0002806/0.09916, allocations: 175.1 kB / 400.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.09935, allocations: 63.91 kB / 400.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.09936, allocations: 0 / 400.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.889e-05/0.09942, allocations: 27.98 kB / 400.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.09981, allocations: 39.55 kB / 400.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/0.1003, allocations: 318.9 kB / 401.1 MB, free: 9.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.1006, allocations: 0.7085 MB / 401.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.637e-05/0.1006, allocations: 25.8 kB / 401.8 MB, free: 9.223 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.1007, allocations: 23.44 kB / 401.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1007, allocations: 0 / 401.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of Templates: time 0.006635/0.1073, allocations: 3.291 MB / 405.1 MB, free: 5.949 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.makefile (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)