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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000757/0.000757, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001156/0.001913, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006985/0.0006985, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009459/0.001644, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.968/0.968, allocations: 177.2 MB / 189.7 MB, free: 5.223 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08824/1.056, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo): time 0.03467/0.03467, allocations: 8.724 MB / 252.9 MB, free: 6.281 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00568/0.04035, allocations: 2.998 MB / 255.9 MB, free: 3.277 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 257.2 MB, free: 1.961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.192e-05, allocations: 2.312 kB / 257.2 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.003351/0.003373, allocations: 2.979 MB / 260.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.00538, allocations: 2.106 MB / 262.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.005488, allocations: 7.938 kB / 262.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.005641, allocations: 55.5 kB / 262.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.00588, allocations: 162.7 kB / 262.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.006348, allocations: 366.4 kB / 262.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004242/0.006772, allocations: 397.9 kB / 263.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.006906, allocations: 63.58 kB / 263.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002437/0.00715, allocations: 223.5 kB / 263.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.007319, allocations: 127.6 kB / 263.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.007347, allocations: 27.94 kB / 263.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000296/0.007643, allocations: 263.7 kB / 263.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.624e-05/0.007689, allocations: 47.8 kB / 264 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.01e-05/0.007769, allocations: 95.81 kB / 264.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.008151, allocations: 370.8 kB / 264.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.008161, allocations: 0 / 264.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.008162, allocations: 0 / 264.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.008173, allocations: 4 kB / 264.4 MB, free: 10.67 MB / 266.7 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.0005514/0.008724, allocations: 0.5733 MB / 265 MB, free: 10.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.008755, allocations: 12.02 kB / 265 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.00892, allocations: 130 kB / 265.1 MB, free: 9.914 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.009114, allocations: 196.9 kB / 265.3 MB, free: 9.695 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.009128, allocations: 16.88 kB / 265.4 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.009159, allocations: 24.31 kB / 265.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.009398, allocations: 252.2 kB / 265.6 MB, free: 9.391 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.009408, allocations: 0 / 265.6 MB, free: 9.391 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.009424, allocations: 12 kB / 265.6 MB, free: 9.379 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.00943, allocations: 4 kB / 265.6 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.009543, allocations: 88.22 kB / 265.7 MB, free: 9.285 MB / 266.7 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.0008312/0.01037, allocations: 0.6335 MB / 266.4 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.01049, allocations: 86.41 kB / 266.4 MB, free: 8.531 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.01054, allocations: 28.86 kB / 266.5 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.768e-05/0.01061, allocations: 19.98 kB / 266.5 MB, free: 8.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.01064, allocations: 42.48 kB / 266.5 MB, free: 8.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.01064, allocations: 0 / 266.5 MB, free: 8.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.00146/0.0121, allocations: 0.5119 MB / 267 MB, free: 7.914 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.01213, allocations: 59.41 kB / 267.1 MB, free: 7.844 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.01223, allocations: 195.6 kB / 267.3 MB, free: 7.641 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.01225, allocations: 25.7 kB / 267.3 MB, free: 7.609 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.01231, allocations: 164 kB / 267.5 MB, free: 7.445 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.01234, allocations: 63.42 kB / 267.5 MB, free: 7.383 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.01238, allocations: 45.69 kB / 267.6 MB, free: 7.332 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.242e-05/0.01246, allocations: 334.8 kB / 267.9 MB, free: 6.996 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.998e-05/0.0125, allocations: 33.33 kB / 267.9 MB, free: 6.961 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6e-05/0.01256, allocations: 95.41 kB / 268 MB, free: 6.844 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.01266, allocations: 121 kB / 268.2 MB, free: 6.707 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01266, allocations: 0 / 268.2 MB, free: 6.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001287/0.01279, allocations: 120.4 kB / 268.3 MB, free: 6.586 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.0128, allocations: 11.98 kB / 268.3 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.01281, allocations: 0 / 268.3 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.01282, allocations: 12.09 kB / 268.3 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.01303, allocations: 75.88 kB / 268.4 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.01303, allocations: 4 kB / 268.4 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.048e-05/0.01308, allocations: 15.89 kB / 268.4 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.01309, allocations: 15.98 kB / 268.4 MB, free: 6.453 MB / 266.7 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: 6 * 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 (25): * Single equations (assignments): 25 * 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.539e-05/0.01319, allocations: 124.6 kB / 268.5 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.01321, allocations: 19.98 kB / 268.5 MB, free: 6.301 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.01337, allocations: 135.2 kB / 268.7 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01337, allocations: 4 kB / 268.7 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.01338, allocations: 3.938 kB / 268.7 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01338, allocations: 3.984 kB / 268.7 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.01372, allocations: 331.4 kB / 269 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.01372, allocations: 0 / 269 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.01389, allocations: 86.28 kB / 269.1 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.01393, allocations: 27.83 kB / 269.1 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01393, allocations: 0 / 269.1 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.01394, allocations: 8 kB / 269.1 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.01395, allocations: 4 kB / 269.1 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01395, allocations: 0 / 269.1 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.01412, allocations: 239.3 kB / 269.4 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.01414, allocations: 8 kB / 269.4 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.465e-05/0.01419, allocations: 4 kB / 269.4 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.01422, allocations: 20 kB / 269.4 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.01423, allocations: 0 / 269.4 MB, free: 5.398 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.66e-05/0.01427, allocations: 65.67 kB / 269.5 MB, free: 5.328 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01427, allocations: 0 / 269.5 MB, free: 5.328 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002198/0.01449, allocations: 127.6 kB / 269.6 MB, free: 5.203 MB / 266.7 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 (19): * Single equations (assignments): 19 * 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.0002206/0.01471, allocations: 176.1 kB / 269.8 MB, free: 5.023 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001274/0.01484, allocations: 97.67 kB / 269.9 MB, free: 4.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.01485, allocations: 7.984 kB / 269.9 MB, free: 4.922 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-05/0.01491, allocations: 60.7 kB / 269.9 MB, free: 4.859 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.01536, allocations: 0.5257 MB / 270.5 MB, free: 4.227 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/0.01968, allocations: 0.5173 MB / 271 MB, free: 3.676 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.176e-05/0.01973, allocations: 88.55 kB / 271.1 MB, free: 3.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.302e-05/0.0198, allocations: 29.88 kB / 271.1 MB, free: 3.543 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.01993, allocations: 115.3 kB / 271.2 MB, free: 3.43 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01993, allocations: 0 / 271.2 MB, free: 3.43 MB / 266.7 MB Notification: Performance of Templates: time 0.1022/0.1222, allocations: 4.994 MB / 276.2 MB, free: 11.78 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.makefile [Timeout 660] (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=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6290821991860867]