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.002363/0.002363, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002723/0.002723, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.06301/0.06301, allocations: 8.708 MB / 268.3 MB, free: 4.574 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 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.352e-06/1.352e-06, allocations: 0 / 340.1 MB, free: 8.406 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.867e-05, allocations: 5.812 kB / 340.1 MB, free: 8.402 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.002787/0.002806, allocations: 2.634 MB / 342.8 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.00387, allocations: 0.7883 MB / 343.5 MB, free: 4.961 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.003979, allocations: 4 kB / 343.5 MB, free: 4.957 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.004096, allocations: 27.72 kB / 343.6 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.004382, allocations: 127 kB / 343.7 MB, free: 4.805 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.00452, allocations: 55.86 kB / 343.7 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.004727, allocations: 270.5 kB / 344 MB, free: 4.484 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.004833, allocations: 44.5 kB / 344.1 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.005032, allocations: 147.6 kB / 344.2 MB, free: 4.297 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.005164, allocations: 79.73 kB / 344.3 MB, free: 4.219 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.005192, allocations: 15.94 kB / 344.3 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.545e-05/0.005278, allocations: 35.98 kB / 344.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.005304, allocations: 31.84 kB / 344.4 MB, free: 4.137 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.825e-05/0.005373, allocations: 75.83 kB / 344.4 MB, free: 4.062 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.005597, allocations: 215.3 kB / 344.6 MB, free: 3.852 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.005599, allocations: 0 / 344.6 MB, free: 3.852 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.0056, allocations: 0 / 344.6 MB, free: 3.852 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.005604, allocations: 0 / 344.6 MB, free: 3.852 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.0005395/0.006144, allocations: 0.5438 MB / 345.2 MB, free: 3.266 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.006173, allocations: 8.031 kB / 345.2 MB, free: 3.258 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.006366, allocations: 52.73 kB / 345.2 MB, free: 3.207 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.00656, allocations: 178.5 kB / 345.4 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.006577, allocations: 20.38 kB / 345.4 MB, free: 2.988 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.006604, allocations: 12.38 kB / 345.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.006901, allocations: 219.8 kB / 345.7 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.006917, allocations: 3.938 kB / 345.7 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.006933, allocations: 8 kB / 345.7 MB, free: 2.727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.00694, allocations: 7.984 kB / 345.7 MB, free: 2.719 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.007155, allocations: 139.3 kB / 345.8 MB, free: 2.578 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.0008304/0.007985, allocations: 0.7214 MB / 346.5 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.008231, allocations: 176.9 kB / 346.7 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.008331, allocations: 89.36 kB / 346.8 MB, free: 1.523 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.008354, allocations: 0 / 346.8 MB, free: 1.523 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.008368, allocations: 41.39 kB / 346.8 MB, free: 1.473 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 9.52e-07/0.008369, allocations: 0 / 346.8 MB, free: 1.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001403/0.009772, allocations: 0.7101 MB / 347.6 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.009795, allocations: 81.11 kB / 347.6 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/0.009894, allocations: 232.2 kB / 347.9 MB, free: 368 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.009908, allocations: 33.7 kB / 347.9 MB, free: 328 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.795e-05/0.009956, allocations: 175.3 kB / 348.1 MB, free: 148 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.009991, allocations: 83.31 kB / 348.1 MB, free: 64 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.01005, allocations: 51.34 kB / 348.2 MB, free: 4 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0005206/0.01057, allocations: 0.5 MB / 348.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.01076, allocations: 97.36 kB / 348.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.01098, allocations: 136.1 kB / 348.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.01135, allocations: 228 kB / 349.1 MB, free: 14.97 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.01136, allocations: 0 / 349.1 MB, free: 14.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000471/0.01183, allocations: 252.8 kB / 349.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.01187, allocations: 37.8 kB / 349.4 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01187, allocations: 0 / 349.4 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.01189, allocations: 4 kB / 349.4 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.01218, allocations: 59.89 kB / 349.5 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.01219, allocations: 7.938 kB / 349.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.01231, allocations: 7.938 kB / 349.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.01233, allocations: 12 kB / 349.5 MB, free: 14.57 MB / 282.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: 5 * 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 (23): * Single equations (assignments): 22 * 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.0002178/0.01255, allocations: 210.2 kB / 349.7 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.744e-05/0.0126, allocations: 27.91 kB / 349.8 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000546/0.01315, allocations: 274.9 kB / 350 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/0.01316, allocations: 4 kB / 350 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.01316, allocations: 0 / 350 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.01316, allocations: 3.938 kB / 350 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000892/0.01406, allocations: 0.5887 MB / 350.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01406, allocations: 0 / 350.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.01433, allocations: 51.97 kB / 350.7 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01433, allocations: 4 kB / 350.7 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.01435, allocations: 4 kB / 350.7 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.01435, allocations: 3.938 kB / 350.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01435, allocations: 0 / 350.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007588/0.01511, allocations: 0.4997 MB / 351.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.791e-05/0.01519, allocations: 31.88 kB / 351.2 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.01522, allocations: 4 kB / 351.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.01535, allocations: 7.938 kB / 351.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.01541, allocations: 15.97 kB / 351.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.01542, allocations: 8.031 kB / 351.2 MB, free: 12.72 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001568/0.01558, allocations: 179.7 kB / 351.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01558, allocations: 0 / 351.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002965/0.01588, allocations: 48 kB / 351.5 MB, free: 12.5 MB / 282.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 (23): * Single equations (assignments): 22 * 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.0001663/0.01604, allocations: 115.1 kB / 351.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004957/0.01654, allocations: 268.6 kB / 351.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01654, allocations: 0 / 351.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.01679, allocations: 176.7 kB / 352 MB, free: 11.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.01712, allocations: 32.17 kB / 352 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009419/0.01806, allocations: 486.3 kB / 352.5 MB, free: 11.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.0182, allocations: 125.2 kB / 352.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.01831, allocations: 21.58 kB / 352.7 MB, free: 11.19 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.01838, allocations: 24.48 kB / 352.7 MB, free: 11.16 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01838, allocations: 3.938 kB / 352.7 MB, free: 11.16 MB / 282.7 MB Notification: Performance of Templates: time 0.006878/0.02525, allocations: 2.387 MB / 355.1 MB, free: 8.836 MB / 282.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: 4.64914532401599]