Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.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.0008796/0.0008796, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009054/0.0009054, allocations: 181 kB / 23.36 MB, free: 1.129 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.9481/0.9481, allocations: 177.1 MB / 203.8 MB, free: 5.504 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.04196/0.04196, allocations: 8.727 MB / 269 MB, free: 4.434 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.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 288 MB, free: 1.375 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.838e-06/1.092e-05, allocations: 5.828 kB / 288 MB, free: 1.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.105/0.105, allocations: 3.26 MB / 291.3 MB, free: 18.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.1076, allocations: 2.163 MB / 293.5 MB, free: 17.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.1078, allocations: 4.156 kB / 293.5 MB, free: 17.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003914/0.1082, allocations: 107.5 kB / 293.6 MB, free: 17.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005253/0.1087, allocations: 259.8 kB / 293.8 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007535/0.1095, allocations: 368.5 kB / 294.2 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004719/0.11, allocations: 0.5214 MB / 294.7 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.1101, allocations: 90.91 kB / 294.8 MB, free: 16.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003477/0.1105, allocations: 270 kB / 295.1 MB, free: 16.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.1107, allocations: 167.5 kB / 295.2 MB, free: 16.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.1108, allocations: 31.19 kB / 295.3 MB, free: 16.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003669/0.1111, allocations: 251 kB / 295.5 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.73e-05/0.1112, allocations: 88.89 kB / 295.6 MB, free: 16.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.1113, allocations: 141.3 kB / 295.7 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005737/0.1119, allocations: 0.4901 MB / 296.2 MB, free: 16.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.1119, allocations: 0 / 296.2 MB, free: 16.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1119, allocations: 0 / 296.2 MB, free: 16.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.1119, allocations: 1.219 kB / 296.2 MB, free: 16.17 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0006962/0.1126, allocations: 0.6181 MB / 296.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.1126, allocations: 9.844 kB / 296.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.1128, allocations: 64 kB / 296.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.1131, allocations: 234.7 kB / 297.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.1131, allocations: 29.09 kB / 297.2 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.1131, allocations: 31.06 kB / 297.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.1134, allocations: 268.8 kB / 297.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1134, allocations: 1.188 kB / 297.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.1134, allocations: 12.06 kB / 297.5 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1135, allocations: 6.859 kB / 297.5 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.1136, allocations: 96.36 kB / 297.6 MB, free: 15.29 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.0008989/0.1145, allocations: 0.6726 MB / 298.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.1147, allocations: 112 kB / 298.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.657e-05/0.1147, allocations: 45.59 kB / 298.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.345e-05/0.1148, allocations: 12.48 kB / 298.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.1148, allocations: 37.23 kB / 298.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.734e-06/0.1148, allocations: 1 kB / 298.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004029/0.1152, allocations: 225.3 kB / 298.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.617e-05/0.1152, allocations: 55 kB / 298.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.1154, allocations: 283.6 kB / 299 MB, free: 14.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.1154, allocations: 33.95 kB / 299 MB, free: 14.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.1155, allocations: 171.7 kB / 299.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.1155, allocations: 86.56 kB / 299.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.1156, allocations: 59.83 kB / 299.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.324e-05/0.1156, allocations: 342.5 kB / 299.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.521e-05/0.1157, allocations: 38.53 kB / 299.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.015e-05/0.1157, allocations: 84 kB / 299.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.1158, allocations: 145.2 kB / 299.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1158, allocations: 0 / 299.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001789/0.116, allocations: 154.2 kB / 300.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.116, allocations: 5.594 kB / 300.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.116, allocations: 4.188 kB / 300.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1161, allocations: 4.344 kB / 300.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.1162, allocations: 70.7 kB / 300.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1162, allocations: 8.781 kB / 300.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.775e-05/0.1163, allocations: 23.08 kB / 300.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.1163, allocations: 7.328 kB / 300.2 MB, free: 13.62 MB / 266.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: 8 * Number of states: 0 () * Number of discrete variables: 1 (checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 9.83e-05/0.1164, allocations: 135 kB / 300.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.1164, allocations: 30.38 kB / 300.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.1167, allocations: 169.3 kB / 300.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1167, allocations: 4.641 kB / 300.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.1167, allocations: 0 / 300.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1167, allocations: 2.656 kB / 300.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.1169, allocations: 203 kB / 300.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1169, allocations: 0 / 300.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.1171, allocations: 61.86 kB / 300.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1171, allocations: 0.875 kB / 300.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1171, allocations: 8 kB / 300.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1171, allocations: 1.031 kB / 300.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1171, allocations: 4.547 kB / 300.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.1173, allocations: 276.3 kB / 301.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.1174, allocations: 37.03 kB / 301.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.1174, allocations: 5.375 kB / 301.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.005e-05/0.1175, allocations: 9.484 kB / 301.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.1175, allocations: 19.53 kB / 301.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1175, allocations: 5.031 kB / 301.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.879e-05/0.1176, allocations: 111.4 kB / 301.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1176, allocations: 0 / 301.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003118/0.1179, allocations: 136 kB / 301.4 MB, free: 13 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * 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 (27): * Single equations (assignments): 27 * 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.001023/0.119, allocations: 0.5123 MB / 301.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001647/0.1191, allocations: 122.5 kB / 302 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.1191, allocations: 3.062 kB / 302 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.765e-05/0.1192, allocations: 60.38 kB / 302.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.1195, allocations: 91.55 kB / 302.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009729/0.1204, allocations: 0.6573 MB / 302.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.413e-05/0.1205, allocations: 98.89 kB / 302.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.1206, allocations: 45.56 kB / 303 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.1207, allocations: 123.8 kB / 303.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1208, allocations: 0 / 303.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of Templates: time 0.006962/0.1277, allocations: 5.688 MB / 308.8 MB, free: 8.348 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6612156508490443]