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.0009602/0.0009602, allocations: 81.86 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0009659/0.0009659, allocations: 169.7 kB / 23.27 MB, free: 1.219 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 0.9428/0.9428, allocations: 177.1 MB / 203.7 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.0329/0.0329, allocations: 8.716 MB / 269 MB, free: 4.375 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.984e-06/1.984e-06, allocations: 0 / 341.3 MB, free: 8.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.154e-05, allocations: 3.719 kB / 341.3 MB, free: 8.832 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.003825/0.003846, allocations: 2.654 MB / 343.9 MB, free: 6.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.005221, allocations: 0.7983 MB / 344.7 MB, free: 5.359 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.005351, allocations: 4 kB / 344.7 MB, free: 5.355 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.005478, allocations: 27.7 kB / 344.8 MB, free: 5.328 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003739/0.005852, allocations: 127 kB / 344.9 MB, free: 5.203 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.006029, allocations: 55.81 kB / 345 MB, free: 5.148 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.006323, allocations: 266.5 kB / 345.2 MB, free: 4.887 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.006455, allocations: 40.5 kB / 345.3 MB, free: 4.848 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.006699, allocations: 139.7 kB / 345.4 MB, free: 4.711 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.006859, allocations: 79.73 kB / 345.5 MB, free: 4.633 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.00689, allocations: 16 kB / 345.5 MB, free: 4.617 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.291e-05/0.006983, allocations: 35.97 kB / 345.5 MB, free: 4.582 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/0.007027, allocations: 39.83 kB / 345.6 MB, free: 4.543 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.399e-05/0.007101, allocations: 71.84 kB / 345.6 MB, free: 4.473 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.007355, allocations: 163.4 kB / 345.8 MB, free: 4.312 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.007357, allocations: 3.938 kB / 345.8 MB, free: 4.309 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.007358, allocations: 0 / 345.8 MB, free: 4.309 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.007362, allocations: 0 / 345.8 MB, free: 4.309 MB / 314.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.0005852/0.007947, allocations: 0.5364 MB / 346.3 MB, free: 3.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.007988, allocations: 8.031 kB / 346.3 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.008167, allocations: 52.72 kB / 346.4 MB, free: 3.672 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.008373, allocations: 181 kB / 346.6 MB, free: 3.469 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.008393, allocations: 16.38 kB / 346.6 MB, free: 3.453 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.008421, allocations: 16.36 kB / 346.6 MB, free: 3.438 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.008666, allocations: 188.5 kB / 346.8 MB, free: 3.227 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.008679, allocations: 3.938 kB / 346.8 MB, free: 3.223 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.008697, allocations: 8 kB / 346.8 MB, free: 3.215 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.008706, allocations: 4 kB / 346.8 MB, free: 3.211 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.00882, allocations: 87.22 kB / 346.9 MB, free: 3.121 MB / 314.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.000788/0.009608, allocations: 0.6517 MB / 347.5 MB, free: 2.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.0098, allocations: 135.3 kB / 347.7 MB, free: 2.281 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.238e-05/0.009872, allocations: 65.34 kB / 347.7 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.009891, allocations: 4 kB / 347.7 MB, free: 2.203 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.009923, allocations: 41.39 kB / 347.8 MB, free: 2.152 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.009924, allocations: 0 / 347.8 MB, free: 2.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.001015/0.01094, allocations: 0.5509 MB / 348.3 MB, free: 1.535 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.01098, allocations: 81.11 kB / 348.4 MB, free: 1.438 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.01111, allocations: 210.4 kB / 348.6 MB, free: 1.215 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.01113, allocations: 25.7 kB / 348.6 MB, free: 1.184 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.792e-05/0.01121, allocations: 183.2 kB / 348.8 MB, free: 1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.01127, allocations: 71.38 kB / 348.9 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-05/0.01134, allocations: 43.34 kB / 348.9 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.01149, allocations: 0.5 MB / 349.4 MB, free: 376 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.498e-05/0.01156, allocations: 65.28 kB / 349.5 MB, free: 300 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.134e-05/0.01166, allocations: 107.1 kB / 349.6 MB, free: 168 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.01183, allocations: 167.9 kB / 349.8 MB, free: 15.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01183, allocations: 0 / 349.8 MB, free: 15.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002459/0.01208, allocations: 198.5 kB / 349.9 MB, free: 15.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.01211, allocations: 33.7 kB / 350 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01211, allocations: 0 / 350 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.01213, allocations: 4 kB / 350 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.01232, allocations: 56.05 kB / 350 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.01233, allocations: 7.938 kB / 350 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.0124, allocations: 8 kB / 350.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.01242, allocations: 7.984 kB / 350.1 MB, free: 15.64 MB / 330.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.0001444/0.01256, allocations: 198.2 kB / 350.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.01261, allocations: 23.91 kB / 350.3 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.0129, allocations: 209.9 kB / 350.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.0129, allocations: 8 kB / 350.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.0129, allocations: 0 / 350.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.01291, allocations: 3.984 kB / 350.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.01343, allocations: 491.5 kB / 351 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.01343, allocations: 0 / 351 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.01361, allocations: 55.91 kB / 351 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01362, allocations: 0 / 351 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.01363, allocations: 7.984 kB / 351 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01363, allocations: 4 kB / 351 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01363, allocations: 0 / 351 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.01401, allocations: 415.5 kB / 351.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.01407, allocations: 23.89 kB / 351.5 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.01409, allocations: 4 kB / 351.5 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.351e-05/0.01418, allocations: 8 kB / 351.5 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.01424, allocations: 19.91 kB / 351.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.01425, allocations: 0 / 351.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.88e-05/0.01433, allocations: 163.1 kB / 351.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01433, allocations: 0 / 351.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003382/0.01467, allocations: 48 kB / 351.7 MB, free: 13.88 MB / 330.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.0001394/0.01481, allocations: 111.1 kB / 351.8 MB, free: 13.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002302/0.01504, allocations: 214.2 kB / 352 MB, free: 13.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01504, allocations: 3.938 kB / 352 MB, free: 13.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.01516, allocations: 136.7 kB / 352.2 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.01549, allocations: 31.94 kB / 352.2 MB, free: 13.33 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.0166, allocations: 484.3 kB / 352.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.25e-05/0.01666, allocations: 75.98 kB / 352.7 MB, free: 12.72 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.01676, allocations: 25.62 kB / 352.8 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.01691, allocations: 114.2 kB / 352.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01691, allocations: 0 / 352.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of Templates: time 0.005811/0.02273, allocations: 2.637 MB / 355.5 MB, free: 10.01 MB / 330.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.6353586800396442]