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.001519/0.001519, allocations: 100.8 kB / 16.24 MB, free: 6.34 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.001712/0.001712, allocations: 187.8 kB / 17.17 MB, free: 5.945 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.277/1.277, allocations: 205.1 MB / 223 MB, free: 12.36 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0565/0.0565, allocations: 11.84 MB / 282.2 MB, free: 328 kB / 222.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.00141/0.00141, allocations: 64.56 kB / 342.4 MB, free: 3.984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2286, allocations: 49.22 MB / 391.6 MB, free: 49.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002829/0.2315, allocations: 1.927 MB / 393.6 MB, free: 47.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.2339, allocations: 1.855 MB / 395.4 MB, free: 46.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.2341, allocations: 1.938 kB / 395.4 MB, free: 46.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.2344, allocations: 42.36 kB / 395.5 MB, free: 46.37 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.2347, allocations: 88.94 kB / 395.6 MB, free: 46.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008234/0.2355, allocations: 348.5 kB / 395.9 MB, free: 46.15 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.2358, allocations: 180.5 kB / 396.1 MB, free: 46.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.2359, allocations: 28.02 kB / 396.1 MB, free: 46.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.494e-05/0.236, allocations: 56.86 kB / 396.2 MB, free: 46.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.2361, allocations: 73.81 kB / 396.2 MB, free: 45.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.2362, allocations: 10.19 kB / 396.2 MB, free: 45.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005363/0.2367, allocations: 231.2 kB / 396.5 MB, free: 45.92 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.691e-05/0.2368, allocations: 27.38 kB / 396.5 MB, free: 45.9 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.29e-05/0.2368, allocations: 66.58 kB / 396.6 MB, free: 45.87 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004901/0.2373, allocations: 281.2 kB / 396.8 MB, free: 45.76 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2374, allocations: 1.156 kB / 396.8 MB, free: 45.76 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.2374, allocations: 5.031 kB / 396.8 MB, free: 45.76 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.2374, allocations: 3.938 kB / 396.8 MB, free: 45.75 MB / 318.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.0005143/0.2379, allocations: 474.3 kB / 397.3 MB, free: 45.31 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.2379, allocations: 12.62 kB / 397.3 MB, free: 45.3 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/0.238, allocations: 16.25 kB / 397.3 MB, free: 45.3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.2382, allocations: 221.7 kB / 397.6 MB, free: 45.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.2382, allocations: 4.25 kB / 397.6 MB, free: 45.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.2383, allocations: 14.25 kB / 397.6 MB, free: 45.06 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.2385, allocations: 121.5 kB / 397.7 MB, free: 45 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.2385, allocations: 4 kB / 397.7 MB, free: 44.99 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.2386, allocations: 1.281 kB / 397.7 MB, free: 44.99 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.2386, allocations: 2.219 kB / 397.7 MB, free: 44.99 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.2388, allocations: 127.7 kB / 397.8 MB, free: 44.94 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.24, allocations: 0.915 MB / 398.7 MB, free: 44.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.2402, allocations: 58.09 kB / 398.8 MB, free: 44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.33e-05/0.2402, allocations: 26.3 kB / 398.8 MB, free: 43.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.2404, allocations: 84.86 kB / 398.9 MB, free: 43.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.2404, allocations: 40.36 kB / 398.9 MB, free: 43.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.2404, allocations: 0 / 398.9 MB, free: 43.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003423/0.2407, allocations: 101.8 kB / 399 MB, free: 43.78 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.2408, allocations: 57.64 kB / 399.1 MB, free: 43.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.241, allocations: 210 kB / 399.3 MB, free: 43.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.241, allocations: 25.7 kB / 399.3 MB, free: 43.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.905e-05/0.2411, allocations: 118.8 kB / 399.4 MB, free: 43.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.2411, allocations: 20.33 kB / 399.5 MB, free: 43.42 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/0.2412, allocations: 26.03 kB / 399.5 MB, free: 43.4 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.592e-05/0.2413, allocations: 327.4 kB / 399.8 MB, free: 43.08 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.924e-05/0.2413, allocations: 28.12 kB / 399.8 MB, free: 43.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.799e-05/0.2414, allocations: 30.02 kB / 399.9 MB, free: 43.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.2415, allocations: 68.14 kB / 399.9 MB, free: 43.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2415, allocations: 7.875 kB / 399.9 MB, free: 43.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001888/0.2417, allocations: 114.3 kB / 400.1 MB, free: 42.94 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2417, allocations: 4.875 kB / 400.1 MB, free: 42.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.2418, allocations: 1.797 kB / 400.1 MB, free: 42.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.2418, allocations: 3.969 kB / 400.1 MB, free: 42.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.2419, allocations: 14.69 kB / 400.1 MB, free: 42.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2419, allocations: 0 / 400.1 MB, free: 42.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.058e-05/0.242, allocations: 16.38 kB / 400.1 MB, free: 42.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.242, allocations: 8.016 kB / 400.1 MB, free: 42.93 MB / 318.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 6.451e-05/0.2421, allocations: 120.8 kB / 400.2 MB, free: 42.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.2421, allocations: 14.14 kB / 400.2 MB, free: 42.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.2423, allocations: 107.9 kB / 400.3 MB, free: 42.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2424, allocations: 0 / 400.3 MB, free: 42.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2424, allocations: 0.75 kB / 400.3 MB, free: 42.73 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.2424, allocations: 103.4 kB / 400.4 MB, free: 42.62 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.2425, allocations: 4 kB / 400.4 MB, free: 42.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.2425, allocations: 1.984 kB / 400.4 MB, free: 42.62 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.2426, allocations: 6.672 kB / 400.5 MB, free: 42.61 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000148/0.2427, allocations: 150.4 kB / 400.6 MB, free: 42.49 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000157/0.2429, allocations: 251.3 kB / 400.8 MB, free: 42.26 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.868e-05/0.2429, allocations: 24.56 kB / 400.9 MB, free: 42.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.2431, allocations: 153 kB / 401 MB, free: 42.15 MB / 318.1 MB Notification: Performance of Backend: time 4.41e-07/0.2431, allocations: 0 / 401 MB, free: 42.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006736/0.2437, allocations: 201.5 kB / 401.2 MB, free: 42.04 MB / 318.1 MB Notification: Performance of SimCode: time 0.0006414/0.2444, allocations: 0.7426 MB / 402 MB, free: 41.37 MB / 318.1 MB Notification: Performance of Templates: time 0.006514/0.2509, allocations: 3.415 MB / 405.4 MB, free: 39.76 MB / 318.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)