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.001574/0.001574, allocations: 106.5 kB / 16.4 MB, free: 6.508 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.001223/0.001223, allocations: 189.2 kB / 17.34 MB, free: 5.734 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.357/1.357, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06085/0.06085, allocations: 11.85 MB / 282.4 MB, free: 208 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.002174/0.002174, allocations: 77.59 kB / 393 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06291/0.06508, allocations: 49.22 MB / 442.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002217/0.0673, allocations: 1.931 MB / 444.2 MB, free: 128 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.06988, allocations: 1.869 MB / 446 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.693e-05/0.06998, allocations: 4 kB / 446 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001914/0.07017, allocations: 39.69 kB / 446.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.07042, allocations: 91.39 kB / 446.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006715/0.07109, allocations: 346.6 kB / 446.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.07131, allocations: 171.1 kB / 446.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.07142, allocations: 25.53 kB / 446.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.89e-05/0.07149, allocations: 63.72 kB / 446.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.935e-05/0.07159, allocations: 67.64 kB / 446.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.07162, allocations: 11.98 kB / 446.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004163/0.07203, allocations: 231.7 kB / 447.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.951e-05/0.07206, allocations: 31.86 kB / 447.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.621e-05/0.07215, allocations: 75.59 kB / 447.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004183/0.07257, allocations: 283 kB / 447.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.07257, allocations: 0 / 447.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.07257, allocations: 0 / 447.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.07258, allocations: 4 kB / 447.4 MB, free: 12.83 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.0005943/0.07317, allocations: 473.6 kB / 447.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.0732, allocations: 11.89 kB / 447.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.07326, allocations: 24.83 kB / 447.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.07353, allocations: 216.1 kB / 448.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.07355, allocations: 12.31 kB / 448.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.07358, allocations: 16.12 kB / 448.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.07385, allocations: 113.6 kB / 448.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.07386, allocations: 0 / 448.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.07388, allocations: 8 kB / 448.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.07388, allocations: 3.938 kB / 448.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.07411, allocations: 123.8 kB / 448.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.07531, allocations: 0.9152 MB / 449.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.07545, allocations: 54.5 kB / 449.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.736e-05/0.07551, allocations: 28.97 kB / 449.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.07564, allocations: 89.09 kB / 449.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.07567, allocations: 34.56 kB / 449.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.07567, allocations: 4 kB / 449.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002759/0.07594, allocations: 97.58 kB / 449.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.07599, allocations: 55.34 kB / 449.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.0762, allocations: 203.8 kB / 449.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.07622, allocations: 25.7 kB / 449.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.875e-05/0.07631, allocations: 131.9 kB / 450.1 MB, free: 9.898 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.07633, allocations: 19.84 kB / 450.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.049e-05/0.0764, allocations: 29.7 kB / 450.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.07659, allocations: 330.8 kB / 450.4 MB, free: 9.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.766e-05/0.07666, allocations: 24.23 kB / 450.4 MB, free: 9.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.6e-05/0.07672, allocations: 31.98 kB / 450.5 MB, free: 9.457 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.07684, allocations: 60.98 kB / 450.5 MB, free: 9.395 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.07684, allocations: 0 / 450.5 MB, free: 9.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002231/0.07707, allocations: 117.5 kB / 450.7 MB, free: 9.273 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.07708, allocations: 9.906 kB / 450.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.07708, allocations: 0 / 450.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.0771, allocations: 7.984 kB / 450.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.726e-05/0.0772, allocations: 15.94 kB / 450.7 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.0772, allocations: 0 / 450.7 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.807e-05/0.07727, allocations: 15.88 kB / 450.7 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.07728, allocations: 8 kB / 450.7 MB, free: 9.219 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.00011/0.07739, allocations: 125.7 kB / 450.8 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.07743, allocations: 15.91 kB / 450.8 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.07767, allocations: 110.6 kB / 451 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.07767, allocations: 0 / 451 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.07768, allocations: 0 / 451 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.07768, allocations: 3.938 kB / 451 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/0.07817, allocations: 391.3 kB / 451.3 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.07817, allocations: 0 / 451.3 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.07823, allocations: 15.92 kB / 451.4 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.07823, allocations: 4.031 kB / 451.4 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.07824, allocations: 4 kB / 451.4 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.07824, allocations: 0 / 451.4 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.07824, allocations: 0 / 451.4 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.07845, allocations: 192.3 kB / 451.6 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.989e-05/0.07854, allocations: 97.05 kB / 451.6 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.07857, allocations: 0 / 451.6 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.132e-05/0.07865, allocations: 4.125 kB / 451.7 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.07867, allocations: 15.88 kB / 451.7 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.07868, allocations: 4 kB / 451.7 MB, free: 8.145 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.07883, allocations: 159 kB / 451.8 MB, free: 7.988 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.07883, allocations: 0 / 451.8 MB, free: 7.988 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003569/0.07918, allocations: 83.7 kB / 451.9 MB, free: 7.906 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.0003039/0.07949, allocations: 178.9 kB / 452.1 MB, free: 7.719 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.07967, allocations: 63.91 kB / 452.1 MB, free: 7.656 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.07968, allocations: 0 / 452.1 MB, free: 7.656 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.085e-05/0.07973, allocations: 19.98 kB / 452.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.08007, allocations: 40.17 kB / 452.2 MB, free: 7.598 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/0.08056, allocations: 262.9 kB / 452.5 MB, free: 7.309 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.08092, allocations: 0.7085 MB / 453.2 MB, free: 6.574 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.084e-05/0.081, allocations: 25.53 kB / 453.2 MB, free: 6.551 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.08105, allocations: 15.44 kB / 453.2 MB, free: 6.535 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.08105, allocations: 0 / 453.2 MB, free: 6.535 MB / 334.1 MB Notification: Performance of Templates: time 0.007215/0.08827, allocations: 3.342 MB / 456.6 MB, free: 3.234 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 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1)