Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.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.000782/0.000782, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00107/0.001852, allocations: 435.8 kB / 10.33 MB, free: 364 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.0007394/0.0007394, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009611/0.0017, allocations: 463.6 kB / 11.68 MB, free: 2.48 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 1.018/1.018, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09882/1.117, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.0402/0.0402, allocations: 8.73 MB / 252.7 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004987/0.04518, allocations: 3.012 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.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 257 MB, free: 2.113 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.35e-05/1.459e-05, allocations: 6.25 kB / 257 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.002575/0.00259, allocations: 2.71 MB / 259.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000858/0.003448, allocations: 0.8216 MB / 260.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.794e-05/0.003516, allocations: 0 / 260.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.184e-05/0.003568, allocations: 39.66 kB / 260.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.003732, allocations: 115.1 kB / 260.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001004/0.003832, allocations: 59.84 kB / 260.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.004027, allocations: 274.4 kB / 261 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.149e-05/0.004108, allocations: 42.53 kB / 261 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.004276, allocations: 155.6 kB / 261.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.004378, allocations: 75.8 kB / 261.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.004401, allocations: 20 kB / 261.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.814e-05/0.004469, allocations: 35.98 kB / 261.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.004491, allocations: 27.88 kB / 261.3 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.171e-05/0.004543, allocations: 63.88 kB / 261.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.004715, allocations: 147.4 kB / 261.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.004726, allocations: 4 kB / 261.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004726, allocations: 0 / 261.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.004737, allocations: 0 / 261.6 MB, free: 13.51 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0003836/0.005121, allocations: 461.2 kB / 262 MB, free: 13.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.321e-05/0.005144, allocations: 12.03 kB / 262 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.005269, allocations: 125.9 kB / 262.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.005397, allocations: 156.7 kB / 262.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.005408, allocations: 12.38 kB / 262.3 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.005428, allocations: 20.38 kB / 262.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.005579, allocations: 190.9 kB / 262.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.005587, allocations: 3.938 kB / 262.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.005595, allocations: 4 kB / 262.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.0056, allocations: 7.938 kB / 262.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.738e-05/0.005667, allocations: 74.66 kB / 262.6 MB, free: 12.37 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.0004635/0.006131, allocations: 488.6 kB / 263.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.00625, allocations: 108.2 kB / 263.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.077e-05/0.006291, allocations: 66.39 kB / 263.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.006302, allocations: 4 kB / 263.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.006321, allocations: 38.5 kB / 263.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 8.82e-07/0.006322, allocations: 0 / 263.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003013/0.006623, allocations: 288.3 kB / 263.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.006644, allocations: 55.39 kB / 263.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.205e-05/0.006716, allocations: 153.2 kB / 263.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.006729, allocations: 29.7 kB / 263.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.00677, allocations: 124.3 kB / 263.9 MB, free: 10.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.006804, allocations: 67.45 kB / 264 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.006842, allocations: 37.66 kB / 264 MB, free: 10.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.543e-05/0.006918, allocations: 330.8 kB / 264.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.65e-05/0.006954, allocations: 50.53 kB / 264.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.227e-05/0.007007, allocations: 81.05 kB / 264.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.138e-05/0.007098, allocations: 137.5 kB / 264.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.007099, allocations: 0 / 264.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00011/0.007209, allocations: 160.8 kB / 264.8 MB, free: 9.988 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.007239, allocations: 29.7 kB / 264.8 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.007242, allocations: 7.938 kB / 264.8 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.623e-06/0.007248, allocations: 4.078 kB / 264.8 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.007441, allocations: 71.88 kB / 264.9 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.007444, allocations: 0 / 264.9 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.79e-05/0.007482, allocations: 11.95 kB / 264.9 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.007489, allocations: 4 kB / 264.9 MB, free: 9.855 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: 4 * 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 (20): * Single equations (assignments): 19 * 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 9.149e-05/0.007581, allocations: 155.4 kB / 265 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.0076, allocations: 12 kB / 265.1 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.007747, allocations: 186 kB / 265.2 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.007749, allocations: 0 / 265.2 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.007752, allocations: 4 kB / 265.2 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.007756, allocations: 3.984 kB / 265.2 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.007886, allocations: 129.7 kB / 265.4 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.007887, allocations: 0 / 265.4 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.008033, allocations: 63.83 kB / 265.4 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.008071, allocations: 27.88 kB / 265.5 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.008073, allocations: 4 kB / 265.5 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.008083, allocations: 8 kB / 265.5 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.008084, allocations: 0 / 265.5 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.008086, allocations: 0 / 265.5 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.008292, allocations: 311.2 kB / 265.8 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.008311, allocations: 11.94 kB / 265.8 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.689e-05/0.008358, allocations: 0 / 265.8 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.008388, allocations: 19.97 kB / 265.8 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.008393, allocations: 0 / 265.8 MB, free: 8.852 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.212e-05/0.008426, allocations: 48.8 kB / 265.9 MB, free: 8.801 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008426, allocations: 0 / 265.9 MB, free: 8.801 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001513/0.008577, allocations: 55.89 kB / 265.9 MB, free: 8.746 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealPump.phi) * 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 (20): * Single equations (assignments): 19 * 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 8.397e-05/0.008661, allocations: 92.39 kB / 266 MB, free: 8.648 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.008798, allocations: 183.6 kB / 266.2 MB, free: 8.441 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.008803, allocations: 4 kB / 266.2 MB, free: 8.438 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.153e-05/0.008875, allocations: 140.7 kB / 266.3 MB, free: 8.281 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.009037, allocations: 47.92 kB / 266.4 MB, free: 8.234 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/0.01287, allocations: 469.1 kB / 266.8 MB, free: 7.742 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.624e-05/0.01291, allocations: 75.98 kB / 266.9 MB, free: 7.648 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.435e-05/0.01298, allocations: 21.36 kB / 266.9 MB, free: 7.629 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.953e-05/0.01308, allocations: 95.34 kB / 267 MB, free: 7.535 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01308, allocations: 0 / 267 MB, free: 7.535 MB / 266.7 MB Notification: Performance of Templates: time 0.004627/0.0177, allocations: 2.661 MB / 269.7 MB, free: 4.934 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5762807186692953]