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.00111/0.00111, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001724/0.002834, allocations: 435.8 kB / 10.33 MB, free: 368 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.001152/0.001152, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001452/0.002604, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9223/0.9223, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08855/1.011, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.03318/0.03318, allocations: 8.732 MB / 252.7 MB, free: 6.391 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005215/0.0384, allocations: 2.998 MB / 255.7 MB, free: 3.387 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.753e-06/1.753e-06, allocations: 0 / 257 MB, free: 2.105 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.57e-05, allocations: 6.25 kB / 257 MB, free: 2.098 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.002917/0.002933, allocations: 2.963 MB / 259.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.005199, allocations: 2.106 MB / 262.1 MB, free: 13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.005326, allocations: 11.88 kB / 262.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.005489, allocations: 59.56 kB / 262.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.005792, allocations: 158.7 kB / 262.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006169/0.006409, allocations: 370.3 kB / 262.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.006803, allocations: 397.9 kB / 263 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.006976, allocations: 63.58 kB / 263.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.007248, allocations: 227.4 kB / 263.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.00743, allocations: 119.7 kB / 263.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.007462, allocations: 24 kB / 263.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003461/0.007808, allocations: 271.6 kB / 263.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.424e-05/0.007862, allocations: 51.88 kB / 263.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.498e-05/0.007947, allocations: 91.81 kB / 263.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004291/0.008377, allocations: 370.8 kB / 264.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.462e-05/0.008391, allocations: 0 / 264.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.008392, allocations: 0 / 264.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.008407, allocations: 0 / 264.2 MB, free: 10.82 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.0007028/0.00911, allocations: 0.5811 MB / 264.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.009148, allocations: 8.031 kB / 264.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.009353, allocations: 130 kB / 264.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.009582, allocations: 200.9 kB / 265.1 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.009604, allocations: 20.88 kB / 265.2 MB, free: 9.816 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.00964, allocations: 20.38 kB / 265.2 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.009962, allocations: 244.2 kB / 265.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.009975, allocations: 0 / 265.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.009995, allocations: 12 kB / 265.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.01, allocations: 4 kB / 265.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.01014, allocations: 92.2 kB / 265.5 MB, free: 9.43 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.0009822/0.01112, allocations: 0.6257 MB / 266.1 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.01125, allocations: 90.41 kB / 266.2 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/0.01129, allocations: 28.84 kB / 266.3 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.073e-05/0.01137, allocations: 19.98 kB / 266.3 MB, free: 8.629 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.01139, allocations: 38.56 kB / 266.3 MB, free: 8.582 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.0114, allocations: 0 / 266.3 MB, free: 8.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003752/0.01177, allocations: 188.5 kB / 266.5 MB, free: 8.395 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.0118, allocations: 55.41 kB / 266.6 MB, free: 8.328 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.01192, allocations: 187.6 kB / 266.7 MB, free: 8.133 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.01194, allocations: 33.7 kB / 266.8 MB, free: 8.094 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.01208, allocations: 160 kB / 266.9 MB, free: 7.934 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.01211, allocations: 71.42 kB / 267 MB, free: 7.863 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.01217, allocations: 45.67 kB / 267 MB, free: 7.812 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.01227, allocations: 330.8 kB / 267.4 MB, free: 7.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.197e-05/0.01232, allocations: 33.33 kB / 267.4 MB, free: 7.445 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.169e-05/0.01239, allocations: 99.41 kB / 267.5 MB, free: 7.324 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.01249, allocations: 108.9 kB / 267.6 MB, free: 7.199 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.01249, allocations: 8.031 kB / 267.6 MB, free: 7.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001389/0.01263, allocations: 124.4 kB / 267.7 MB, free: 7.066 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.01265, allocations: 4 kB / 267.7 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.01266, allocations: 4 kB / 267.7 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.01267, allocations: 3.938 kB / 267.7 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.01302, allocations: 87.86 kB / 267.8 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.01303, allocations: 4.156 kB / 267.8 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.307e-05/0.01308, allocations: 23.83 kB / 267.9 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.01309, allocations: 7.984 kB / 267.9 MB, free: 6.934 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 0.0001102/0.0132, allocations: 124.6 kB / 268 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.01323, allocations: 15.98 kB / 268 MB, free: 6.785 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.01341, allocations: 135.2 kB / 268.1 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01341, allocations: 4 kB / 268.1 MB, free: 6.645 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.01342, allocations: 4 kB / 268.1 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01342, allocations: 0 / 268.1 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.01378, allocations: 339.3 kB / 268.5 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.01378, allocations: 4 kB / 268.5 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.01396, allocations: 75.81 kB / 268.5 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.014, allocations: 31.83 kB / 268.6 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01401, allocations: 0 / 268.6 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.01402, allocations: 4 kB / 268.6 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.01402, allocations: 4.031 kB / 268.6 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01402, allocations: 0 / 268.6 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.01422, allocations: 244.1 kB / 268.8 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.01424, allocations: 4 kB / 268.8 MB, free: 5.902 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.624e-05/0.0143, allocations: 8 kB / 268.8 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.01433, allocations: 11.97 kB / 268.8 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.01433, allocations: 4 kB / 268.9 MB, free: 5.879 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.466e-05/0.01438, allocations: 65.66 kB / 268.9 MB, free: 5.812 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01438, allocations: 0 / 268.9 MB, free: 5.812 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002301/0.01461, allocations: 123.6 kB / 269 MB, free: 5.691 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.0001966/0.01481, allocations: 180.1 kB / 269.2 MB, free: 5.508 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.01493, allocations: 105.3 kB / 269.3 MB, free: 5.406 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.01494, allocations: 0 / 269.3 MB, free: 5.406 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.01498, allocations: 57.06 kB / 269.4 MB, free: 5.348 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.01517, allocations: 72.56 kB / 269.4 MB, free: 5.277 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004479/0.01965, allocations: 0.5135 MB / 270 MB, free: 4.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.518e-05/0.0197, allocations: 88.55 kB / 270 MB, free: 4.625 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.778e-05/0.01977, allocations: 33.88 kB / 270.1 MB, free: 4.594 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.01989, allocations: 103.3 kB / 270.2 MB, free: 4.492 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01989, allocations: 3.938 kB / 270.2 MB, free: 4.488 MB / 266.7 MB Notification: Performance of Templates: time 0.1007/0.1206, allocations: 4.896 MB / 275.1 MB, free: 12.66 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.544017095118761]