Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.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.000941/0.000941, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001553/0.001553, allocations: 169 kB / 23.28 MB, free: 1.223 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.9496/0.9496, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.03462/0.03462, allocations: 8.717 MB / 269 MB, free: 4.371 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.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.026e-06/3.026e-06, allocations: 0 / 341.3 MB, free: 7.773 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.49e-05, allocations: 2.312 kB / 341.3 MB, free: 7.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.003901/0.003926, allocations: 4.317 MB / 345.6 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003007/0.006933, allocations: 2.454 MB / 348.1 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003584/0.007291, allocations: 15.88 kB / 348.1 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000411/0.007702, allocations: 170.7 kB / 348.3 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006404/0.008342, allocations: 437.1 kB / 348.7 MB, free: 356 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009038/0.009246, allocations: 0.4907 MB / 349.2 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009016/0.01015, allocations: 1.1 MB / 350.3 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002579/0.01041, allocations: 176.3 kB / 350.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005336/0.01094, allocations: 0.5456 MB / 351 MB, free: 14.03 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000378/0.01132, allocations: 371 kB / 351.4 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.089e-05/0.01139, allocations: 68 kB / 351.4 MB, free: 13.6 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004264/0.01181, allocations: 271.8 kB / 351.7 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.01195, allocations: 199.2 kB / 351.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.01214, allocations: 283.3 kB / 352.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007729/0.01292, allocations: 0.8097 MB / 353 MB, free: 12.05 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.01292, allocations: 0 / 353 MB, free: 12.05 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01292, allocations: 0 / 353 MB, free: 12.05 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.01293, allocations: 4 kB / 353 MB, free: 12.04 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001042/0.01397, allocations: 1.11 MB / 354.1 MB, free: 10.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.01401, allocations: 11.97 kB / 354.1 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002335/0.01424, allocations: 148.3 kB / 354.2 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.01467, allocations: 466.9 kB / 354.7 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/0.01471, allocations: 45.69 kB / 354.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-05/0.01477, allocations: 60.11 kB / 354.8 MB, free: 10.15 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/0.01519, allocations: 364.8 kB / 355.2 MB, free: 9.781 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.0152, allocations: 0 / 355.2 MB, free: 9.781 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.01523, allocations: 20 kB / 355.2 MB, free: 9.762 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.01524, allocations: 16 kB / 355.2 MB, free: 9.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.01549, allocations: 210.2 kB / 355.4 MB, free: 9.539 MB / 282.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.001599/0.01709, allocations: 1.386 MB / 356.8 MB, free: 8.105 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.01746, allocations: 251 kB / 357 MB, free: 7.852 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.42e-05/0.01755, allocations: 79.64 kB / 357.1 MB, free: 7.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.139e-05/0.01762, allocations: 23.97 kB / 357.1 MB, free: 7.746 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.01764, allocations: 41.39 kB / 357.2 MB, free: 7.695 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 1.624e-06/0.01764, allocations: 0 / 357.2 MB, free: 7.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.000991/0.01863, allocations: 0.6848 MB / 357.9 MB, free: 6.969 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.01866, allocations: 59.34 kB / 357.9 MB, free: 6.898 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/0.01897, allocations: 0.5023 MB / 358.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.01899, allocations: 29.7 kB / 358.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.01918, allocations: 403.5 kB / 358.8 MB, free: 5.941 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.893e-05/0.01925, allocations: 162.6 kB / 359 MB, free: 5.781 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.01936, allocations: 103.7 kB / 359.1 MB, free: 5.672 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.0195, allocations: 0.5429 MB / 359.6 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.62e-05/0.01958, allocations: 56.94 kB / 359.7 MB, free: 5.062 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.01971, allocations: 193.5 kB / 359.9 MB, free: 4.824 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.02003, allocations: 331.7 kB / 360.2 MB, free: 4.453 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.02003, allocations: 0 / 360.2 MB, free: 4.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003528/0.02038, allocations: 356.4 kB / 360.6 MB, free: 4.098 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.0204, allocations: 8 kB / 360.6 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.02041, allocations: 4 kB / 360.6 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.02042, allocations: 7.938 kB / 360.6 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.02067, allocations: 120.2 kB / 360.7 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.02068, allocations: 7.938 kB / 360.7 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.02078, allocations: 16 kB / 360.7 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.0208, allocations: 19.98 kB / 360.7 MB, free: 3.918 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: j1.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = idealPump.p_init unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Pressure in the connection point\" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (checkValve.variableRestriction.data.zetaLaminarKnown,checkValve1.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0001983/0.021, allocations: 186.9 kB / 360.9 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/0.02107, allocations: 71.62 kB / 361 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004099/0.02148, allocations: 371.4 kB / 361.4 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.02149, allocations: 7.938 kB / 361.4 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.02149, allocations: 0 / 361.4 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.02149, allocations: 0 / 361.4 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008236/0.02232, allocations: 0.8046 MB / 362.2 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02232, allocations: 0 / 362.2 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.02256, allocations: 111.9 kB / 362.3 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.02256, allocations: 0 / 362.3 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.02258, allocations: 11.94 kB / 362.3 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.02258, allocations: 7.938 kB / 362.3 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02258, allocations: 0 / 362.3 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004585/0.02304, allocations: 0.5291 MB / 362.8 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.02315, allocations: 87.58 kB / 362.9 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.02319, allocations: 19.89 kB / 362.9 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.02329, allocations: 15.98 kB / 362.9 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.02334, allocations: 32.44 kB / 363 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.02335, allocations: 12 kB / 363 MB, free: 1.605 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001775/0.02353, allocations: 322.7 kB / 363.3 MB, free: 1.293 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02353, allocations: 0 / 363.3 MB, free: 1.293 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003825/0.02391, allocations: 179.8 kB / 363.5 MB, free: 1.117 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (circuitTank.volumeOpen.m,speed.phi,speed.w,j1.volumeClosed.port[2].p) * 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 (49): * Single equations (assignments): 49 * 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.0007513/0.02466, allocations: 420.7 kB / 363.9 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002759/0.02494, allocations: 236.2 kB / 364.1 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.02494, allocations: 0 / 364.1 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.02507, allocations: 135.4 kB / 364.3 MB, free: 448 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.02548, allocations: 158.7 kB / 364.4 MB, free: 292 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.02709, allocations: 1.221 MB / 365.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.02719, allocations: 157.9 kB / 365.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002151/0.02741, allocations: 96.56 kB / 365.9 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.02768, allocations: 230.1 kB / 366.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02768, allocations: 4 kB / 366.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of Templates: time 0.01252/0.0402, allocations: 9.569 MB / 375.7 MB, free: 5.16 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8410373623482883]