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.001471/0.001471, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001429/0.001429, allocations: 187 kB / 17.34 MB, free: 5.762 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.373/1.373, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05252/0.05252, allocations: 11.83 MB / 282.4 MB, free: 232 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.001486/0.001486, allocations: 74.25 kB / 393 MB, free: 45.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08408/0.08557, allocations: 49.23 MB / 442.2 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002299/0.08792, allocations: 1.932 MB / 444.2 MB, free: 144 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.09026, allocations: 1.865 MB / 446 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.823e-05/0.09039, allocations: 4 kB / 446 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.09061, allocations: 39.69 kB / 446.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.09089, allocations: 83.38 kB / 446.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006558/0.09155, allocations: 342.6 kB / 446.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.09176, allocations: 171.1 kB / 446.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.09189, allocations: 37.52 kB / 446.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.841e-05/0.09197, allocations: 63.67 kB / 446.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.0921, allocations: 71.69 kB / 446.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.09213, allocations: 12 kB / 446.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004123/0.09254, allocations: 231.7 kB / 447.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.862e-05/0.09258, allocations: 23.92 kB / 447.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.465e-05/0.09266, allocations: 83.53 kB / 447.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.09305, allocations: 275.3 kB / 447.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.09307, allocations: 4 kB / 447.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.09307, allocations: 0 / 447.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.09309, allocations: 0 / 447.4 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.0005569/0.09365, allocations: 466.9 kB / 447.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.0937, allocations: 15.89 kB / 447.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.09376, allocations: 16.75 kB / 447.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.09404, allocations: 216 kB / 448.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.09406, allocations: 12.31 kB / 448.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.09409, allocations: 20.12 kB / 448.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.09433, allocations: 117.6 kB / 448.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.09435, allocations: 0 / 448.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.09436, allocations: 4 kB / 448.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.09438, allocations: 4 kB / 448.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.09459, allocations: 123.8 kB / 448.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.0957, allocations: 0.915 MB / 449.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.09585, allocations: 62.5 kB / 449.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.928e-05/0.09591, allocations: 28.97 kB / 449.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.09603, allocations: 89.09 kB / 449.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.09606, allocations: 30.56 kB / 449.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.09607, allocations: 0 / 449.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002715/0.09634, allocations: 101.5 kB / 449.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.09639, allocations: 55.34 kB / 449.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.09658, allocations: 203.8 kB / 449.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.09661, allocations: 29.7 kB / 449.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.211e-05/0.09669, allocations: 123.9 kB / 450 MB, free: 9.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.09672, allocations: 19.66 kB / 450.1 MB, free: 9.906 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.09677, allocations: 33.7 kB / 450.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.09689, allocations: 322.8 kB / 450.4 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.991e-05/0.09697, allocations: 31.98 kB / 450.4 MB, free: 9.512 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.812e-05/0.09703, allocations: 27.98 kB / 450.5 MB, free: 9.484 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.09715, allocations: 60.97 kB / 450.5 MB, free: 9.422 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.09716, 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.0001837/0.09735, allocations: 117.4 kB / 450.6 MB, free: 9.297 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.09738, allocations: 10.64 kB / 450.6 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.09739, allocations: 0 / 450.6 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.0974, allocations: 0 / 450.6 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.225e-05/0.09751, allocations: 19.94 kB / 450.7 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.09752, allocations: 3.984 kB / 450.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.348e-05/0.09759, allocations: 15.84 kB / 450.7 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.09761, allocations: 4 kB / 450.7 MB, free: 9.246 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.333e-05/0.09771, allocations: 133.7 kB / 450.8 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.09775, allocations: 11.91 kB / 450.8 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.09798, allocations: 106.5 kB / 450.9 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.09799, allocations: 0 / 450.9 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.098, allocations: 0 / 450.9 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.09801, allocations: 0 / 450.9 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.09844, allocations: 387.6 kB / 451.3 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.09846, allocations: 11.95 kB / 451.3 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.826e-05/0.09851, allocations: 15.94 kB / 451.3 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.09852, allocations: 0 / 451.3 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.09854, allocations: 8 kB / 451.3 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.09854, allocations: 0 / 451.3 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.09855, allocations: 0 / 451.3 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.09874, allocations: 188.1 kB / 451.5 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-05/0.09882, allocations: 100.9 kB / 451.6 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.09885, allocations: 0 / 451.6 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.09893, allocations: 0 / 451.6 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.09896, allocations: 11.88 kB / 451.6 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.09897, allocations: 4 kB / 451.6 MB, free: 8.176 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.09911, allocations: 159 kB / 451.8 MB, free: 8.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09912, allocations: 0 / 451.8 MB, free: 8.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003455/0.09947, allocations: 79.92 kB / 451.9 MB, free: 7.941 MB / 334.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.0002881/0.09976, allocations: 179.1 kB / 452.1 MB, free: 7.754 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.09994, allocations: 55.92 kB / 452.1 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.09995, allocations: 0 / 452.1 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.966e-05/0.1, allocations: 27.98 kB / 452.1 MB, free: 7.672 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.1004, allocations: 44.22 kB / 452.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/0.1009, allocations: 288.8 kB / 452.5 MB, free: 7.309 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.1012, allocations: 0.7124 MB / 453.2 MB, free: 6.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.1012, allocations: 23.42 kB / 453.2 MB, free: 6.547 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1012, allocations: 0 / 453.2 MB, free: 6.547 MB / 334.1 MB Notification: Performance of Templates: time 0.004592/0.1058, allocations: 2.805 MB / 456 MB, free: 3.758 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)