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.0014/0.0014, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001257/0.001257, allocations: 173 kB / 24.05 MB, free: 456 kB / 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.9354/0.9354, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.03359/0.03359, allocations: 8.709 MB / 269.7 MB, free: 4.402 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 1.473e-06/1.473e-06, allocations: 0 / 342.1 MB, free: 7.797 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.381e-05, allocations: 2.312 kB / 342.1 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.00308/0.003094, allocations: 4.32 MB / 346.4 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.005618, allocations: 2.462 MB / 348.9 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.005846, allocations: 15.88 kB / 348.9 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.006202, allocations: 170.7 kB / 349.1 MB, free: 0.793 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005305/0.006732, allocations: 429.1 kB / 349.5 MB, free: 380 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000715/0.007447, allocations: 0.4946 MB / 350 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007935/0.008241, allocations: 1.096 MB / 351.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.008465, allocations: 172.3 kB / 351.2 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005197/0.008985, allocations: 0.5534 MB / 351.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003394/0.009325, allocations: 367 kB / 352.1 MB, free: 13.69 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.971e-05/0.009384, allocations: 64 kB / 352.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003306/0.009715, allocations: 271.8 kB / 352.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.009838, allocations: 203.2 kB / 352.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.01002, allocations: 291.2 kB / 353 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008161/0.01084, allocations: 0.802 MB / 353.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.01084, allocations: 4 kB / 353.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.01084, allocations: 0 / 353.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.01085, allocations: 4 kB / 353.8 MB, free: 12.06 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.001018/0.01186, allocations: 1.114 MB / 354.9 MB, free: 10.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.01189, allocations: 8.031 kB / 354.9 MB, free: 10.9 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.01211, allocations: 148.3 kB / 355 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.01252, allocations: 466.9 kB / 355.5 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.01256, allocations: 41.67 kB / 355.5 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.979e-05/0.01262, allocations: 60.12 kB / 355.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.01299, allocations: 364.8 kB / 355.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.013, allocations: 0 / 355.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.01303, allocations: 24 kB / 356 MB, free: 9.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.01304, allocations: 15.98 kB / 356 MB, free: 9.766 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.01329, allocations: 210.2 kB / 356.2 MB, free: 9.559 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.001833/0.01512, allocations: 1.394 MB / 357.6 MB, free: 8.117 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.01549, allocations: 247.8 kB / 357.8 MB, free: 7.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.875e-05/0.01559, allocations: 75.64 kB / 357.9 MB, free: 7.785 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/0.01563, allocations: 19.98 kB / 357.9 MB, free: 7.766 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.01566, allocations: 37.39 kB / 358 MB, free: 7.719 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 1.573e-06/0.01566, allocations: 0 / 358 MB, free: 7.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009873/0.01664, allocations: 0.6926 MB / 358.6 MB, free: 6.984 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.01668, allocations: 55.41 kB / 358.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003934/0.01707, allocations: 0.4945 MB / 359.2 MB, free: 6.406 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.0171, allocations: 37.7 kB / 359.2 MB, free: 6.363 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.01727, allocations: 399.5 kB / 359.6 MB, free: 5.965 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.965e-05/0.01735, allocations: 154.6 kB / 359.8 MB, free: 5.812 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-05/0.01745, allocations: 111.7 kB / 359.9 MB, free: 5.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.01762, allocations: 0.5468 MB / 360.4 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.103e-05/0.0177, allocations: 48.95 kB / 360.5 MB, free: 5.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.01784, allocations: 197.4 kB / 360.7 MB, free: 4.848 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.01814, allocations: 331.7 kB / 361 MB, free: 4.477 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01815, allocations: 0 / 361 MB, free: 4.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003582/0.0185, allocations: 352.4 kB / 361.3 MB, free: 4.125 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.01852, allocations: 10.5 kB / 361.3 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01852, allocations: 0 / 361.3 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.01854, allocations: 11.94 kB / 361.4 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.01879, allocations: 111.9 kB / 361.5 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.01879, allocations: 16.27 kB / 361.5 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.0189, allocations: 15.98 kB / 361.5 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.01892, allocations: 16 kB / 361.5 MB, free: 3.949 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.0001769/0.0191, allocations: 197.1 kB / 361.7 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.292e-05/0.01917, allocations: 75.5 kB / 361.8 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004079/0.01958, allocations: 359.5 kB / 362.1 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.01959, allocations: 7.938 kB / 362.1 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.01959, allocations: 4 kB / 362.1 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.01959, allocations: 3.984 kB / 362.1 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007806/0.02038, allocations: 0.8007 MB / 362.9 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.02038, allocations: 0 / 362.9 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.02062, allocations: 103.9 kB / 363 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.02063, allocations: 4 kB / 363.1 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.02065, allocations: 19.92 kB / 363.1 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.02065, allocations: 4 kB / 363.1 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02065, allocations: 0 / 363.1 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/0.02111, allocations: 0.5252 MB / 363.6 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.02122, allocations: 95.59 kB / 363.7 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.02126, allocations: 19.89 kB / 363.7 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.02137, allocations: 8 kB / 363.7 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003113/0.02168, allocations: 32.44 kB / 363.8 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.0217, allocations: 15.98 kB / 363.8 MB, free: 1.625 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001742/0.02187, allocations: 318.7 kB / 364.1 MB, free: 1.316 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02187, allocations: 0 / 364.1 MB, free: 1.316 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003413/0.02221, allocations: 187.7 kB / 364.3 MB, free: 1.133 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.0007402/0.02295, allocations: 416.4 kB / 364.7 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.02323, allocations: 240.5 kB / 364.9 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.02323, allocations: 3.938 kB / 364.9 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.02335, allocations: 139.4 kB / 365 MB, free: 464 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.02376, allocations: 155.7 kB / 365.2 MB, free: 308 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.02514, allocations: 1.218 MB / 366.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.494e-05/0.02523, allocations: 161.9 kB / 366.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000189/0.02542, allocations: 88.62 kB / 366.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.02569, allocations: 230.1 kB / 366.9 MB, free: 14.56 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.02569, allocations: 4 kB / 366.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of Templates: time 0.01085/0.03654, allocations: 9.722 MB / 376.6 MB, free: 5.004 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.9482123786583543]