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.0009594/0.0009594, allocations: 77.09 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.000944/0.000944, allocations: 169 kB / 24.06 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.9938/0.9938, allocations: 177.1 MB / 204.5 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.03442/0.03442, allocations: 8.717 MB / 269.7 MB, free: 4.379 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.403e-06/1.403e-06, allocations: 3.938 kB / 342.1 MB, free: 7.777 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.663e-05, allocations: 2.312 kB / 342.1 MB, free: 7.773 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.002628/0.002645, allocations: 3.266 MB / 345.4 MB, free: 4.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.004666, allocations: 2.099 MB / 347.5 MB, free: 2.375 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.004845, allocations: 4 kB / 347.5 MB, free: 2.371 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.005161, allocations: 115.1 kB / 347.6 MB, free: 2.258 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004008/0.005561, allocations: 250.4 kB / 347.8 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.006113, allocations: 374.6 kB / 348.2 MB, free: 1.645 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.006462, allocations: 0.5248 MB / 348.7 MB, free: 1.117 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.006604, allocations: 80.31 kB / 348.8 MB, free: 1.039 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.006862, allocations: 267.3 kB / 349 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.007063, allocations: 179.5 kB / 349.2 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.007095, allocations: 32 kB / 349.2 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.007377, allocations: 247.6 kB / 349.5 MB, free: 336 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.07e-05/0.007447, allocations: 91.61 kB / 349.6 MB, free: 244 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.337e-05/0.007531, allocations: 135.6 kB / 349.7 MB, free: 108 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005449/0.008076, allocations: 0.4906 MB / 350.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.008078, allocations: 4 kB / 350.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.008078, allocations: 0 / 350.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.008083, allocations: 0 / 350.2 MB, free: 15.61 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0006974/0.00878, allocations: 0.7445 MB / 351 MB, free: 14.83 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.008812, allocations: 12.03 kB / 351 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.008972, allocations: 84.58 kB / 351 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.009243, allocations: 280.4 kB / 351.3 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.009266, allocations: 17.03 kB / 351.3 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.009301, allocations: 32.12 kB / 351.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.009576, allocations: 269 kB / 351.6 MB, free: 14.1 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.009588, allocations: 4 kB / 351.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.009606, allocations: 8 kB / 351.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.009613, allocations: 8 kB / 351.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.009759, allocations: 107.1 kB / 351.8 MB, free: 13.97 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.0009919/0.01075, allocations: 0.9004 MB / 352.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.01093, allocations: 135 kB / 352.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.701e-05/0.01099, allocations: 46.09 kB / 352.8 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.01103, allocations: 12 kB / 352.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.01105, allocations: 41.77 kB / 352.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.733e-06/0.01106, allocations: 0 / 352.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008648/0.01192, allocations: 0.5151 MB / 353.4 MB, free: 12.22 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.01195, allocations: 59.58 kB / 353.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.01214, allocations: 330.1 kB / 353.8 MB, free: 11.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.01216, allocations: 29.7 kB / 353.8 MB, free: 11.78 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.01227, allocations: 255.2 kB / 354.1 MB, free: 11.53 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.01232, allocations: 91.22 kB / 354.1 MB, free: 11.44 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.01239, allocations: 63.56 kB / 354.2 MB, free: 11.37 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.01253, allocations: 0.5234 MB / 354.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.69e-05/0.01259, allocations: 56.8 kB / 354.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.775e-05/0.01269, allocations: 130.1 kB / 354.9 MB, free: 10.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.01285, allocations: 172.1 kB / 355.1 MB, free: 10.4 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.01285, allocations: 4 kB / 355.1 MB, free: 10.4 MB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002411/0.01309, allocations: 213.1 kB / 355.3 MB, free: 10.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.01311, allocations: 8 kB / 355.3 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01311, allocations: 0 / 355.3 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.01312, allocations: 4 kB / 355.3 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.01331, allocations: 75.89 kB / 355.4 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.01332, allocations: 12.2 kB / 355.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.338e-05/0.01339, allocations: 11.94 kB / 355.4 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.01341, allocations: 12 kB / 355.4 MB, free: 10.06 MB / 282.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: 9 * 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 (34): * Single equations (assignments): 34 * 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.0001285/0.01354, allocations: 186.1 kB / 355.6 MB, free: 9.875 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.01359, allocations: 39.81 kB / 355.6 MB, free: 9.836 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.01387, allocations: 229.1 kB / 355.9 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.01387, allocations: 4.047 kB / 355.9 MB, free: 9.598 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01387, allocations: 3.984 kB / 355.9 MB, free: 9.594 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.01388, allocations: 0 / 355.9 MB, free: 9.594 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005201/0.0144, allocations: 0.5257 MB / 356.4 MB, free: 9.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.0144, allocations: 0 / 356.4 MB, free: 9.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.01457, allocations: 75.89 kB / 356.5 MB, free: 8.961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01457, allocations: 4 kB / 356.5 MB, free: 8.957 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.01459, allocations: 7.984 kB / 356.5 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.01459, allocations: 8 kB / 356.5 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01459, allocations: 4 kB / 356.5 MB, free: 8.938 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.01492, allocations: 384.5 kB / 356.9 MB, free: 8.543 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.01499, allocations: 51.72 kB / 356.9 MB, free: 8.492 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.01502, allocations: 11.98 kB / 356.9 MB, free: 8.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.023e-05/0.0151, allocations: 11.94 kB / 356.9 MB, free: 8.469 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.01514, allocations: 23.89 kB / 357 MB, free: 8.445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.01515, allocations: 8 kB / 357 MB, free: 8.438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001238/0.01527, allocations: 222.9 kB / 357.2 MB, free: 8.223 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01527, allocations: 4.031 kB / 357.2 MB, free: 8.219 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.01555, allocations: 119.8 kB / 357.3 MB, free: 8.102 MB / 282.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 (30): * Single equations (assignments): 30 * 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.0007682/0.01632, allocations: 414.6 kB / 357.7 MB, free: 7.809 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.01651, allocations: 142.7 kB / 357.9 MB, free: 7.668 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01651, allocations: 0 / 357.9 MB, free: 7.668 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.597e-05/0.01659, allocations: 87.5 kB / 357.9 MB, free: 7.578 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.01689, allocations: 69.72 kB / 358 MB, free: 7.512 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.01797, allocations: 0.6909 MB / 358.7 MB, free: 6.793 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.323e-05/0.01804, allocations: 104.6 kB / 358.8 MB, free: 6.672 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.01815, allocations: 46.94 kB / 358.8 MB, free: 6.621 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.01832, allocations: 154.1 kB / 359 MB, free: 6.469 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01832, allocations: 3.938 kB / 359 MB, free: 6.465 MB / 282.7 MB Notification: Performance of Templates: time 0.007666/0.02598, allocations: 5.937 MB / 364.9 MB, free: 0.6211 MB / 282.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.783787173219025]