Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005854/0.005854, allocations: 101.2 kB / 15.73 MB, free: 6.422 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.001255/0.001255, allocations: 185.2 kB / 16.67 MB, free: 6.352 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.368/1.368, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05732/0.05732, allocations: 11.84 MB / 281.7 MB, free: 9.371 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.001478/0.001478, allocations: 75.89 kB / 392.3 MB, free: 3.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2503, allocations: 49.22 MB / 441.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.003851/0.2542, allocations: 2.898 MB / 444.5 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.2571, allocations: 2.008 MB / 446.5 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.2573, allocations: 3.875 kB / 446.5 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.2576, allocations: 60.45 kB / 446.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.258, allocations: 161.5 kB / 446.7 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008544/0.2589, allocations: 377 kB / 447.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.2593, allocations: 379.1 kB / 447.4 MB, free: 440 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.2594, allocations: 92.56 kB / 447.5 MB, free: 392 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.2596, allocations: 130.9 kB / 447.6 MB, free: 332 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.2599, allocations: 152.2 kB / 447.8 MB, free: 256 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.623e-05/0.2599, allocations: 27.38 kB / 447.8 MB, free: 252 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004961/0.2604, allocations: 247.1 kB / 448.1 MB, free: 188 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.251e-05/0.2605, allocations: 60.34 kB / 448.1 MB, free: 148 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.2607, allocations: 155.5 kB / 448.3 MB, free: 56 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007156/0.2614, allocations: 454.4 kB / 448.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2614, allocations: 0 / 448.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2614, allocations: 1.188 kB / 448.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.2614, allocations: 0 / 448.7 MB, free: 15.82 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0009815/0.2624, allocations: 0.5832 MB / 449.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2625, allocations: 13.55 kB / 449.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.2626, allocations: 37.81 kB / 449.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.2629, allocations: 269.1 kB / 449.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.263, allocations: 17.56 kB / 449.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.263, allocations: 29.41 kB / 449.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/0.2635, allocations: 277.1 kB / 449.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.2635, allocations: 0 / 449.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.2635, allocations: 7.156 kB / 449.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.2635, allocations: 9.531 kB / 449.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004265/0.264, allocations: 222 kB / 450.2 MB, free: 14.67 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.266, allocations: 1.444 MB / 451.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.2663, allocations: 145.2 kB / 451.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.2664, allocations: 72.62 kB / 451.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.2666, allocations: 175.7 kB / 452 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.2666, allocations: 35.94 kB / 452 MB, free: 12.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.2667, allocations: 0 / 452 MB, free: 12.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.00194/0.2686, allocations: 0.7355 MB / 452.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.2687, allocations: 54.16 kB / 452.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.269, allocations: 266.7 kB / 453.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.269, allocations: 31.08 kB / 453.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.2691, allocations: 156.4 kB / 453.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/0.2692, allocations: 76.75 kB / 453.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.2693, allocations: 55.8 kB / 453.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2694, allocations: 336 kB / 453.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.2696, allocations: 80.78 kB / 453.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.2699, allocations: 127.9 kB / 453.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.2702, allocations: 201.3 kB / 454.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.2702, allocations: 5.25 kB / 454.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005109/0.2708, allocations: 271.5 kB / 454.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.2708, allocations: 5.844 kB / 454.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.2708, allocations: 5.312 kB / 454.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.2708, allocations: 2.938 kB / 454.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.2711, allocations: 64.55 kB / 454.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.2712, allocations: 6.219 kB / 454.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.2713, allocations: 13.09 kB / 454.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.2714, allocations: 16.11 kB / 454.5 MB, free: 11.02 MB / 334.1 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 28 * 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.0002078/0.2716, allocations: 144.6 kB / 454.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.2716, allocations: 31.22 kB / 454.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005565/0.2722, allocations: 241.8 kB / 454.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2722, allocations: 3.406 kB / 454.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2722, allocations: 0 / 454.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2722, allocations: 0 / 454.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.2733, allocations: 0.6339 MB / 455.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2733, allocations: 0 / 455.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.2736, allocations: 62.12 kB / 455.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2736, allocations: 6.375 kB / 455.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.2736, allocations: 10.17 kB / 455.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2736, allocations: 1.156 kB / 455.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2736, allocations: 1.125 kB / 455.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006455/0.2743, allocations: 396 kB / 456 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.2744, allocations: 118.1 kB / 456.1 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.2745, allocations: 6.25 kB / 456.1 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.2746, allocations: 13.52 kB / 456.1 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.2747, allocations: 14.64 kB / 456.2 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.2747, allocations: 17.17 kB / 456.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.2749, allocations: 198 kB / 456.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2749, allocations: 0 / 456.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005328/0.2755, allocations: 107.5 kB / 456.5 MB, free: 9.57 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * 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 (22): * Single equations (assignments): 22 * 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.0003675/0.2758, allocations: 186.9 kB / 456.6 MB, free: 9.438 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004821/0.2763, allocations: 184 kB / 456.8 MB, free: 9.363 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2764, allocations: 0 / 456.8 MB, free: 9.363 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.2765, allocations: 92.58 kB / 456.9 MB, free: 9.324 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.277, allocations: 82.78 kB / 457 MB, free: 9.273 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.2784, allocations: 0.6197 MB / 457.6 MB, free: 8.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.2788, allocations: 0.7582 MB / 458.4 MB, free: 8.105 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.279, allocations: 52.44 kB / 458.4 MB, free: 8.074 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.618e-05/0.2791, allocations: 29.88 kB / 458.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2791, allocations: 0 / 458.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of Templates: time 0.01133/0.2905, allocations: 5.017 MB / 463.5 MB, free: 4.812 MB / 334.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1)