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.001696/0.001697, allocations: 109.7 kB / 16.42 MB, free: 6.461 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.00192/0.001921, allocations: 183.8 kB / 17.34 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.309/1.309, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05758/0.05758, allocations: 11.84 MB / 282.4 MB, free: 220 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.00157/0.00157, allocations: 76.44 kB / 393 MB, free: 45.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06364/0.06522, allocations: 49.23 MB / 442.2 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002221/0.06747, allocations: 1.927 MB / 444.2 MB, free: 148 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002331/0.06982, allocations: 1.865 MB / 446 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.565e-05/0.06993, allocations: 0 / 446 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.07012, allocations: 39.7 kB / 446.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.07037, allocations: 95.38 kB / 446.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006298/0.07101, allocations: 346.6 kB / 446.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.0712, allocations: 171.1 kB / 446.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.943e-05/0.07131, allocations: 33.53 kB / 446.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.387e-05/0.0714, allocations: 63.78 kB / 446.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.436e-05/0.0715, allocations: 63.7 kB / 446.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.07153, allocations: 12 kB / 446.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004102/0.07194, allocations: 231.7 kB / 447.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.07198, allocations: 27.91 kB / 447.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.07207, allocations: 79.55 kB / 447.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.07247, allocations: 283 kB / 447.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.07248, allocations: 4 kB / 447.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.07249, allocations: 0 / 447.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.0725, allocations: 0 / 447.5 MB, free: 12.85 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.000522/0.07303, allocations: 466.4 kB / 447.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.07307, allocations: 15.89 kB / 447.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.07313, allocations: 20.78 kB / 447.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.07337, allocations: 216.1 kB / 448.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.07339, allocations: 8.375 kB / 448.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.07342, allocations: 12.12 kB / 448.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.07365, allocations: 125.6 kB / 448.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.07367, allocations: 3.984 kB / 448.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.07369, allocations: 8 kB / 448.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.0737, allocations: 0 / 448.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.07391, allocations: 119.8 kB / 448.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.07498, allocations: 0.9268 MB / 449.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.07513, allocations: 58.56 kB / 449.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.0752, allocations: 28.97 kB / 449.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.07533, allocations: 85.11 kB / 449.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.07536, allocations: 30.56 kB / 449.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.07536, allocations: 0 / 449.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.000267/0.07564, allocations: 109.5 kB / 449.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.07567, allocations: 51.41 kB / 449.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.07587, allocations: 207.8 kB / 449.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.07589, allocations: 25.7 kB / 449.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.977e-05/0.07597, allocations: 123.9 kB / 450.1 MB, free: 9.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.07599, allocations: 23.84 kB / 450.1 MB, free: 9.891 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.07606, allocations: 29.72 kB / 450.1 MB, free: 9.855 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.07617, allocations: 322.8 kB / 450.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.807e-05/0.07624, allocations: 32 kB / 450.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.246e-05/0.07631, allocations: 23.98 kB / 450.5 MB, free: 9.477 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.07644, allocations: 68.72 kB / 450.6 MB, free: 9.406 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.07645, allocations: 0 / 450.6 MB, free: 9.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002065/0.07666, allocations: 117.7 kB / 450.7 MB, free: 9.285 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.07668, allocations: 6.812 kB / 450.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.07669, allocations: 0 / 450.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.07671, allocations: 3.938 kB / 450.7 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.893e-05/0.07681, allocations: 19.98 kB / 450.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.07682, allocations: 0 / 450.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.762e-05/0.0769, allocations: 19.92 kB / 450.7 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.07692, allocations: 4 kB / 450.7 MB, free: 9.234 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 0.0001046/0.07703, allocations: 125.7 kB / 450.8 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.07708, allocations: 15.91 kB / 450.9 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.07731, allocations: 106.5 kB / 451 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.07732, allocations: 0 / 451 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.07733, allocations: 96 / 451 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-05/0.07741, allocations: 104.9 kB / 451.1 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.07744, allocations: 0 / 451.1 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.369e-05/0.07753, allocations: 11.94 kB / 451.1 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.07756, allocations: 7.922 kB / 451.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001784/0.07774, allocations: 145.3 kB / 451.2 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002025/0.07795, allocations: 258.7 kB / 451.5 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.096e-05/0.07801, allocations: 20 kB / 451.5 MB, free: 8.398 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.07815, allocations: 163 kB / 451.7 MB, free: 8.238 MB / 334.1 MB Notification: Performance of Backend: time 6.41e-07/0.07815, allocations: 0 / 451.7 MB, free: 8.238 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005913/0.07875, allocations: 194.1 kB / 451.8 MB, free: 8.039 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006362/0.0794, allocations: 0.7218 MB / 452.6 MB, free: 7.27 MB / 334.1 MB Notification: Performance of Templates: time 0.006325/0.08573, allocations: 3.45 MB / 456 MB, free: 3.855 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)