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.0009146/0.0009146, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009655/0.0009655, allocations: 169 kB / 23.02 MB, free: 1.547 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.9422/0.9422, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.03445/0.03445, allocations: 8.716 MB / 268.7 MB, free: 4.543 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.533e-06/1.533e-06, allocations: 0 / 340.9 MB, free: 8.059 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.642e-05, allocations: 2.312 kB / 340.9 MB, free: 8.055 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.005321/0.005347, allocations: 4.372 MB / 345.2 MB, free: 3.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003106/0.008454, allocations: 2.477 MB / 347.7 MB, free: 1.168 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.008675, allocations: 15.88 kB / 347.7 MB, free: 1.152 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004636/0.009138, allocations: 178.7 kB / 347.9 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005541/0.009692, allocations: 429.1 kB / 348.3 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005602/0.01025, allocations: 0.4907 MB / 348.8 MB, free: 64 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006994/0.01095, allocations: 1.096 MB / 349.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.01119, allocations: 176.3 kB / 350.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004456/0.01164, allocations: 0.5456 MB / 350.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000361/0.012, allocations: 371 kB / 351 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.889e-05/0.01207, allocations: 68 kB / 351 MB, free: 13.81 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003113/0.01238, allocations: 275.7 kB / 351.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.01251, allocations: 199.2 kB / 351.5 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.0127, allocations: 279.3 kB / 351.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006892/0.01339, allocations: 0.8097 MB / 352.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.01339, allocations: 3.938 kB / 352.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01339, allocations: 0 / 352.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.545e-06/0.0134, allocations: 0 / 352.6 MB, free: 12.25 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.001075/0.01447, allocations: 1.106 MB / 353.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.01451, allocations: 8.031 kB / 353.7 MB, free: 11.1 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.01474, allocations: 152.3 kB / 353.9 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.0152, allocations: 482.8 kB / 354.3 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/0.01523, allocations: 41.69 kB / 354.4 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.01529, allocations: 56.12 kB / 354.4 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.01579, allocations: 412.8 kB / 354.8 MB, free: 9.941 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.0158, allocations: 0 / 354.8 MB, free: 9.941 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.01584, allocations: 20 kB / 354.9 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.01585, allocations: 12 kB / 354.9 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003787/0.01623, allocations: 255.7 kB / 355.1 MB, free: 9.66 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.001663/0.01789, allocations: 1.495 MB / 356.6 MB, free: 8.105 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004588/0.01835, allocations: 272.7 kB / 356.9 MB, free: 7.828 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.01849, allocations: 91.64 kB / 357 MB, free: 7.734 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.634e-05/0.01855, allocations: 19.98 kB / 357 MB, free: 7.715 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.01857, allocations: 41.33 kB / 357 MB, free: 7.664 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 2.114e-06/0.01858, allocations: 0 / 357 MB, free: 7.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.001216/0.01979, allocations: 0.8325 MB / 357.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.01982, allocations: 55.41 kB / 357.9 MB, free: 6.723 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.0202, allocations: 0.5143 MB / 358.4 MB, free: 6.195 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.02022, allocations: 37.64 kB / 358.5 MB, free: 6.152 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.0204, allocations: 391.6 kB / 358.8 MB, free: 5.762 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.948e-05/0.02048, allocations: 154.6 kB / 359 MB, free: 5.609 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.02058, allocations: 99.78 kB / 359.1 MB, free: 5.504 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.02073, allocations: 0.5469 MB / 359.6 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.02085, allocations: 68.95 kB / 359.7 MB, free: 4.879 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.02103, allocations: 201.5 kB / 359.9 MB, free: 4.633 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.02146, allocations: 379.6 kB / 360.3 MB, free: 4.215 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.02146, allocations: 0 / 360.3 MB, free: 4.215 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004397/0.0219, allocations: 380.6 kB / 360.6 MB, free: 3.836 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.02191, allocations: 11.92 kB / 360.7 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.02192, allocations: 4 kB / 360.7 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.02193, allocations: 4 kB / 360.7 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.0222, allocations: 115.8 kB / 360.8 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.02221, allocations: 11.98 kB / 360.8 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.02232, allocations: 12 kB / 360.8 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.02235, allocations: 36.12 kB / 360.8 MB, free: 3.645 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 (checkValve1.variableRestriction.data.zetaLaminarKnown,checkValve.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.0001731/0.02252, allocations: 185.2 kB / 361 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/0.02259, allocations: 79.61 kB / 361.1 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004908/0.02308, allocations: 391.4 kB / 361.5 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.02309, allocations: 4 kB / 361.5 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.02309, allocations: 0 / 361.5 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.02309, allocations: 3.984 kB / 361.5 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009279/0.02402, allocations: 0.9213 MB / 362.4 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.02403, allocations: 11.88 kB / 362.4 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.02429, allocations: 107.9 kB / 362.5 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.02429, allocations: 4 kB / 362.5 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.02431, allocations: 8 kB / 362.5 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.02431, allocations: 0 / 362.5 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.02432, allocations: 3.984 kB / 362.5 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005616/0.02488, allocations: 0.5682 MB / 363.1 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.02499, allocations: 103.5 kB / 363.2 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.02503, allocations: 8 kB / 363.2 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.02514, allocations: 19.98 kB / 363.2 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.02519, allocations: 28.38 kB / 363.3 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.02521, allocations: 19.98 kB / 363.3 MB, free: 1.125 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002325/0.02545, allocations: 342.8 kB / 363.6 MB, free: 0.793 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02545, allocations: 0 / 363.6 MB, free: 0.793 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.02579, allocations: 183.7 kB / 363.8 MB, free: 0.6133 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.0007716/0.02656, allocations: 427.4 kB / 364.2 MB, free: 316 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003581/0.02692, allocations: 264 kB / 364.5 MB, free: 48 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.02692, allocations: 0.6875 kB / 364.5 MB, free: 48 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.02709, allocations: 143.5 kB / 364.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.02751, allocations: 157.4 kB / 364.8 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.02915, allocations: 1.237 MB / 366 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.02926, allocations: 161.9 kB / 366.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001994/0.02946, allocations: 96.61 kB / 366.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.02957, allocations: 60.47 kB / 366.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02957, allocations: 0 / 366.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of Templates: time 0.01109/0.04066, allocations: 9.417 MB / 375.7 MB, free: 4.895 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.7442503981292248]