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.001106/0.001106, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.008374/0.008374, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.47/1.47, allocations: 205.4 MB / 222.5 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05372/0.05372, allocations: 11.85 MB / 282.6 MB, free: 9.602 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.0006079/0.0006079, allocations: 18.34 kB / 343.5 MB, free: 22.14 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09013/0.09075, allocations: 50.22 MB / 393.8 MB, free: 3.867 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.0027/0.09349, allocations: 2.054 MB / 395.8 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.09482, allocations: 0.6476 MB / 396.5 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.095, allocations: 4 kB / 396.5 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.735e-05/0.09506, allocations: 7.922 kB / 396.5 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003783/0.09545, allocations: 71.52 kB / 396.5 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.09558, allocations: 23.98 kB / 396.6 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.09581, allocations: 135.2 kB / 396.7 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.09597, allocations: 37.08 kB / 396.7 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.09614, allocations: 43.8 kB / 396.8 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.0963, allocations: 63.75 kB / 396.8 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.09633, allocations: 4 kB / 396.8 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.172e-05/0.09642, allocations: 12 kB / 396.8 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.019e-05/0.09646, allocations: 19.86 kB / 396.9 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.88e-05/0.09655, allocations: 85.38 kB / 397 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.09675, allocations: 103.8 kB / 397.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.09677, allocations: 7.984 kB / 397.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.09678, allocations: 4 kB / 397.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.09679, allocations: 0 / 397.1 MB, free: 0.5273 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.0006418/0.09744, allocations: 428.8 kB / 397.5 MB, free: 56 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.09749, allocations: 12.03 kB / 397.5 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.894e-05/0.09755, allocations: 16.75 kB / 397.5 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.09782, allocations: 198.7 kB / 397.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.09785, allocations: 12.31 kB / 397.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.09788, allocations: 12.12 kB / 397.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.09816, allocations: 105.6 kB / 397.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.09818, allocations: 0 / 397.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.0982, allocations: 4 kB / 397.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.09822, allocations: 4 kB / 397.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.09848, allocations: 95.89 kB / 397.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007568/0.09925, allocations: 0.5823 MB / 398.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.09949, allocations: 94.53 kB / 398.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.09964, allocations: 56.95 kB / 398.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.09966, allocations: 0 / 398.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.0997, allocations: 38.56 kB / 398.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.09971, allocations: 0 / 398.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.001544/0.1013, allocations: 480.2 kB / 399.2 MB, free: 14.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.1013, allocations: 81.09 kB / 399.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1014, allocations: 153.7 kB / 399.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.1015, allocations: 29.7 kB / 399.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.1015, allocations: 100 kB / 399.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.1016, allocations: 31.47 kB / 399.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.1016, allocations: 17.7 kB / 399.6 MB, free: 13.74 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1018, allocations: 322.8 kB / 399.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.102, allocations: 55.97 kB / 399.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.1022, allocations: 73.66 kB / 400 MB, free: 13.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/0.1026, allocations: 189.8 kB / 400.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1026, allocations: 7.938 kB / 400.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004529/0.1031, allocations: 199.1 kB / 400.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.1031, allocations: 37.69 kB / 400.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1031, allocations: 0 / 400.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1031, allocations: 0 / 400.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.1033, allocations: 31.97 kB / 400.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1034, allocations: 0 / 400.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.1035, allocations: 24.02 kB / 400.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.1035, allocations: 4 kB / 400.5 MB, free: 12.77 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.1036, allocations: 144.4 kB / 400.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.1037, allocations: 19.83 kB / 400.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005564/0.1043, allocations: 228 kB / 400.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.1043, allocations: 8 kB / 400.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1043, allocations: 0 / 400.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1043, allocations: 96 / 400.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.1046, allocations: 229.5 kB / 401.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1046, allocations: 0 / 401.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.1047, allocations: 39.84 kB / 401.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1047, allocations: 0 / 401.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.1048, allocations: 4 kB / 401.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1048, allocations: 0 / 401.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1048, allocations: 4 kB / 401.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004987/0.1053, allocations: 315.3 kB / 401.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.663e-05/0.1054, allocations: 100.9 kB / 401.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.1054, allocations: 8 kB / 401.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.1056, allocations: 15.98 kB / 401.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.1056, allocations: 11.98 kB / 401.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.1056, allocations: 15.92 kB / 401.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.951e-05/0.1057, allocations: 107.3 kB / 401.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1057, allocations: 0 / 401.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.106, allocations: 32 kB / 401.8 MB, free: 11.39 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 (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.0001536/0.1062, allocations: 107.2 kB / 401.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004789/0.1067, allocations: 195.3 kB / 402.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1067, allocations: 0 / 402.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.1069, allocations: 143.3 kB / 402.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.1073, allocations: 31.92 kB / 402.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000566/0.1079, allocations: 351.5 kB / 402.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.1082, allocations: 0.7048 MB / 403.3 MB, free: 9.793 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.863e-05/0.1083, allocations: 21.2 kB / 403.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.1083, allocations: 15.44 kB / 403.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1083, allocations: 0 / 403.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of Templates: time 0.004697/0.113, allocations: 1.887 MB / 405.2 MB, free: 7.902 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: