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.001313/0.001313, allocations: 115.7 kB / 16.42 MB, free: 6.516 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.001218/0.001218, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.418/1.418, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05625/0.05625, allocations: 11.84 MB / 282.4 MB, free: 212 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.001545/0.001545, allocations: 76.97 kB / 393 MB, free: 45.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08392/0.08548, allocations: 49.23 MB / 442.2 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002441/0.08796, allocations: 1.927 MB / 444.2 MB, free: 144 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.09046, allocations: 1.865 MB / 446 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.09061, allocations: 4 kB / 446 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.09089, allocations: 39.69 kB / 446.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.09121, allocations: 79.39 kB / 446.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007212/0.09194, allocations: 350.6 kB / 446.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.09215, allocations: 167.1 kB / 446.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.09227, allocations: 37.52 kB / 446.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.446e-05/0.09236, allocations: 63.72 kB / 446.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.09247, allocations: 71.7 kB / 446.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.0925, allocations: 12 kB / 446.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004249/0.09293, allocations: 231.7 kB / 447.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.09297, allocations: 27.84 kB / 447.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.513e-05/0.09305, allocations: 75.61 kB / 447.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004562/0.09351, allocations: 287.3 kB / 447.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.09353, allocations: 3.938 kB / 447.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.09354, allocations: 0 / 447.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.09355, allocations: 0 / 447.4 MB, free: 12.84 MB / 334.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.0005366/0.09409, allocations: 462.9 kB / 447.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.09413, allocations: 19.88 kB / 447.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.09419, allocations: 16.75 kB / 447.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.09443, allocations: 208 kB / 448.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.09445, allocations: 8.375 kB / 448.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.09448, allocations: 24.06 kB / 448.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.0947, allocations: 113.6 kB / 448.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.09472, allocations: 4 kB / 448.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.09474, allocations: 4 kB / 448.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.09475, allocations: 7.938 kB / 448.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.09495, allocations: 123.8 kB / 448.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.09605, allocations: 0.9111 MB / 449.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.09619, allocations: 62.5 kB / 449.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.521e-05/0.09626, allocations: 32.97 kB / 449.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.09639, allocations: 81.11 kB / 449.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.09642, allocations: 34.55 kB / 449.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.09643, allocations: 0 / 449.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.000277/0.09671, allocations: 97.5 kB / 449.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.09675, allocations: 59.34 kB / 449.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.09695, allocations: 207.8 kB / 449.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.09699, allocations: 29.7 kB / 449.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.492e-05/0.09707, allocations: 119.9 kB / 450 MB, free: 9.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.09709, allocations: 27.62 kB / 450.1 MB, free: 9.898 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.09715, allocations: 29.7 kB / 450.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.09728, allocations: 318.8 kB / 450.4 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.732e-05/0.09736, allocations: 31.98 kB / 450.4 MB, free: 9.512 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.902e-05/0.09742, allocations: 24 kB / 450.5 MB, free: 9.488 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.09754, allocations: 64.91 kB / 450.5 MB, free: 9.422 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.09755, allocations: 4.031 kB / 450.5 MB, free: 9.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002055/0.09776, allocations: 121.4 kB / 450.6 MB, free: 9.293 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.09779, allocations: 4 kB / 450.6 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.0978, allocations: 3.984 kB / 450.7 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.09782, allocations: 0 / 450.7 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.09793, allocations: 23.92 kB / 450.7 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.09795, allocations: 0 / 450.7 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.894e-05/0.09802, allocations: 11.84 kB / 450.7 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.09804, allocations: 7.984 kB / 450.7 MB, free: 9.242 MB / 334.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.617e-05/0.09814, allocations: 129.7 kB / 450.8 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.09819, allocations: 11.91 kB / 450.8 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.09841, allocations: 102.6 kB / 450.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.09842, allocations: 0 / 450.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.09843, allocations: 0 / 450.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.09851, allocations: 100.9 kB / 451 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.09854, allocations: 4.312 kB / 451 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.024e-05/0.09863, allocations: 4 kB / 451 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.09865, allocations: 15.92 kB / 451.1 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001608/0.09882, allocations: 145 kB / 451.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000228/0.09906, allocations: 254.6 kB / 451.4 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.61e-05/0.09912, allocations: 23.92 kB / 451.5 MB, free: 8.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.09925, allocations: 155 kB / 451.6 MB, free: 8.258 MB / 334.1 MB Notification: Performance of Backend: time 4.91e-07/0.09926, allocations: 0 / 451.6 MB, free: 8.258 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006164/0.09988, allocations: 197.1 kB / 451.8 MB, free: 8.059 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006992/0.1006, allocations: 0.7336 MB / 452.5 MB, free: 7.277 MB / 334.1 MB Notification: Performance of Templates: time 0.007051/0.1077, allocations: 3.504 MB / 456.1 MB, free: 3.809 MB / 334.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)