Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.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.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009723/0.0009722, allocations: 99 kB / 15.05 MB, free: 1.105 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.001186/0.001186, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.07225/0.07225, allocations: 11.84 MB / 282.2 MB, free: 9.473 MB / 238.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.0006181/0.0006185, allocations: 12 kB / 342.9 MB, free: 22.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08019/0.08082, allocations: 50.21 MB / 393.1 MB, free: 4.238 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.002209/0.08307, allocations: 1.88 MB / 395 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009775/0.08407, allocations: 0.6129 MB / 395.6 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.858e-05/0.08419, allocations: 4 kB / 395.6 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.354e-05/0.08424, allocations: 15.84 kB / 395.6 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.08457, allocations: 115.6 kB / 395.7 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001022/0.08468, allocations: 19.97 kB / 395.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.08486, allocations: 111.7 kB / 395.8 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.08497, allocations: 25.09 kB / 395.9 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.08509, allocations: 47.84 kB / 395.9 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.0852, allocations: 55.77 kB / 396 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.08523, allocations: 8 kB / 396 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.58e-05/0.0853, allocations: 19.98 kB / 396 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.08533, allocations: 15.91 kB / 396 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.08537, allocations: 45.64 kB / 396.1 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.08551, allocations: 76.09 kB / 396.1 MB, free: 1.172 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.08551, allocations: 3.938 kB / 396.1 MB, free: 1.168 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.08552, allocations: 0 / 396.1 MB, free: 1.168 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.08553, allocations: 0 / 396.1 MB, free: 1.168 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005008/0.08604, allocations: 436.6 kB / 396.6 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.08607, allocations: 12.03 kB / 396.6 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.08612, allocations: 11.81 kB / 396.6 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.08632, allocations: 206.8 kB / 396.8 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.08634, allocations: 8 kB / 396.8 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.08636, allocations: 8 kB / 396.8 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.0866, allocations: 105.6 kB / 396.9 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.08662, allocations: 0 / 396.9 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.08663, allocations: 0 / 396.9 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.08664, allocations: 7.953 kB / 396.9 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002555/0.0869, allocations: 87.94 kB / 397 MB, free: 208 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006823/0.0876, allocations: 0.5864 MB / 397.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.08781, allocations: 98.47 kB / 397.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.08783, allocations: 0 / 397.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.08786, allocations: 34.56 kB / 397.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.08787, allocations: 0 / 397.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.001392/0.08927, allocations: 469.1 kB / 398.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.08933, allocations: 93.05 kB / 398.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.932e-05/0.08944, allocations: 142.3 kB / 398.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.08947, allocations: 25.8 kB / 398.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.08952, allocations: 104 kB / 398.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.08956, allocations: 39.45 kB / 398.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.08957, allocations: 0 / 398.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.08968, allocations: 322.8 kB / 398.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.08986, allocations: 55.95 kB / 398.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.09005, allocations: 73.67 kB / 399 MB, free: 14.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.09024, allocations: 85.67 kB / 399.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.09025, allocations: 0 / 399.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004138/0.09067, allocations: 199.1 kB / 399.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.09072, allocations: 33.7 kB / 399.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.09073, allocations: 7.969 kB / 399.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.09075, allocations: 3.938 kB / 399.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.09093, allocations: 31.97 kB / 399.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.09094, allocations: 0 / 399.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.09107, allocations: 23.94 kB / 399.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.09109, allocations: 8 kB / 399.4 MB, free: 13.6 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.0912, allocations: 143.5 kB / 399.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.09124, allocations: 11.91 kB / 399.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004984/0.09174, allocations: 240.1 kB / 399.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.09176, allocations: 7.984 kB / 399.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.09177, allocations: 3.984 kB / 399.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.09178, allocations: 0 / 399.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.092, allocations: 225.5 kB / 400 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.09201, allocations: 4 kB / 400 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.09217, allocations: 31.98 kB / 400.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.09219, allocations: 0 / 400.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.0922, allocations: 3.984 kB / 400.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.09221, allocations: 4 kB / 400.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.09222, allocations: 4 kB / 400.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004756/0.0927, allocations: 309 kB / 400.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.09278, allocations: 100.9 kB / 400.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.09281, allocations: 3.984 kB / 400.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.09296, allocations: 27.98 kB / 400.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.09301, allocations: 7.984 kB / 400.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.09303, allocations: 4 kB / 400.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.682e-05/0.09311, allocations: 111.2 kB / 400.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09312, allocations: 0 / 400.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.09337, allocations: 40 kB / 400.7 MB, free: 12.22 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001184/0.09349, allocations: 99.25 kB / 400.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004481/0.09395, allocations: 203.1 kB / 401 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.09396, allocations: 4 kB / 401 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000262/0.09423, allocations: 135.4 kB / 401.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.09449, allocations: 40 kB / 401.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.09493, allocations: 343.2 kB / 401.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.09515, allocations: 0.7126 MB / 402.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.208e-05/0.09523, allocations: 13.08 kB / 402.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.09527, allocations: 19.44 kB / 402.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.09528, allocations: 0 / 402.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of Templates: time 0.004035/0.09932, allocations: 1.816 MB / 404 MB, free: 8.801 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.makefile Environment - environmentSimulation: (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1) Environment - environmentSimulation: