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.002399/0.002399, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.002918/0.002918, allocations: 169.9 kB / 22.45 MB, free: 2.105 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 1.619/1.619, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] 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.06228/0.06228, allocations: 8.698 MB / 267.9 MB, free: 4.746 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.683e-06/1.683e-06, allocations: 0 / 395.4 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.211e-05/3.379e-05, allocations: 2.281 kB / 395.4 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.005496/0.005529, allocations: 3.052 MB / 398.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003946/0.009476, allocations: 2.029 MB / 400.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002721/0.009748, allocations: 15.88 kB / 400.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004408/0.01019, allocations: 103.2 kB / 400.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007028/0.01089, allocations: 254.3 kB / 400.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009869/0.01188, allocations: 374.3 kB / 401.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007121/0.01259, allocations: 0.5247 MB / 401.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.0128, allocations: 76.31 kB / 401.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004489/0.01325, allocations: 267.4 kB / 402.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/0.01359, allocations: 167.5 kB / 402.3 MB, free: 9.844 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.511e-05/0.01365, allocations: 35.94 kB / 402.3 MB, free: 9.809 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004933/0.01415, allocations: 243.6 kB / 402.5 MB, free: 9.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.01428, allocations: 91.61 kB / 402.6 MB, free: 9.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.01448, allocations: 139.6 kB / 402.8 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.01548, allocations: 0.6349 MB / 403.4 MB, free: 8.707 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.01548, allocations: 0 / 403.4 MB, free: 8.707 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01548, allocations: 0 / 403.4 MB, free: 8.707 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.01549, allocations: 0 / 403.4 MB, free: 8.707 MB / 330.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.001238/0.01673, allocations: 0.6447 MB / 404.1 MB, free: 8.031 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.01677, allocations: 8.031 kB / 404.1 MB, free: 8.023 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004759/0.01724, allocations: 52.69 kB / 404.1 MB, free: 7.973 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.01776, allocations: 289.5 kB / 404.4 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.0178, allocations: 25.03 kB / 404.4 MB, free: 7.637 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/0.01785, allocations: 28.12 kB / 404.4 MB, free: 7.609 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006633/0.01852, allocations: 354.7 kB / 404.8 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.01853, allocations: 0 / 404.8 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.01856, allocations: 12 kB / 404.8 MB, free: 7.234 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.01857, allocations: 4 kB / 404.8 MB, free: 7.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005688/0.01914, allocations: 262.5 kB / 405.1 MB, free: 6.973 MB / 330.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.001954/0.0211, allocations: 0.9056 MB / 406 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004909/0.02159, allocations: 217 kB / 406.2 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.02179, allocations: 88.81 kB / 406.3 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.202e-05/0.02187, allocations: 12 kB / 406.3 MB, free: 5.699 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.0219, allocations: 38.5 kB / 406.3 MB, free: 5.652 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.373e-06/0.0219, allocations: 0 / 406.3 MB, free: 5.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.002287/0.02419, allocations: 0.7858 MB / 407.1 MB, free: 4.832 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.02424, allocations: 59.62 kB / 407.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004446/0.02469, allocations: 328.6 kB / 407.5 MB, free: 4.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.02472, allocations: 25.7 kB / 407.5 MB, free: 4.398 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.0249, allocations: 204.5 kB / 407.7 MB, free: 4.195 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.903e-05/0.025, allocations: 107.5 kB / 407.8 MB, free: 4.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.0251, allocations: 57.97 kB / 407.9 MB, free: 4.027 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.02531, allocations: 342.8 kB / 408.2 MB, free: 3.684 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.02556, allocations: 98.02 kB / 408.3 MB, free: 3.582 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.02585, allocations: 165.5 kB / 408.5 MB, free: 3.395 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005385/0.02639, allocations: 258.5 kB / 408.7 MB, free: 3.117 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.02639, allocations: 0 / 408.7 MB, free: 3.117 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006821/0.02707, allocations: 305.2 kB / 409 MB, free: 2.812 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.02709, allocations: 8.219 kB / 409 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.0271, allocations: 4 kB / 409 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.02712, allocations: 4 kB / 409 MB, free: 2.797 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.02751, allocations: 79.89 kB / 409.1 MB, free: 2.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.02752, allocations: 7.938 kB / 409.1 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.02769, allocations: 15.98 kB / 409.1 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.02772, allocations: 11.98 kB / 409.1 MB, free: 2.684 MB / 330.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.0002548/0.02797, allocations: 165.8 kB / 409.3 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/0.02805, allocations: 39.77 kB / 409.3 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007752/0.02882, allocations: 317.1 kB / 409.7 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.02883, allocations: 4 kB / 409.7 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.02884, allocations: 0 / 409.7 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.02884, allocations: 3.938 kB / 409.7 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.03009, allocations: 0.6313 MB / 410.3 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.0301, allocations: 3.984 kB / 410.3 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.03048, allocations: 79.89 kB / 410.4 MB, free: 1.398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.03048, allocations: 0 / 410.4 MB, free: 1.398 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.03051, allocations: 11.98 kB / 410.4 MB, free: 1.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.03052, allocations: 3.938 kB / 410.4 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.03052, allocations: 0 / 410.4 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009569/0.03148, allocations: 0.4889 MB / 410.9 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.03161, allocations: 55.81 kB / 410.9 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.03165, allocations: 4 kB / 410.9 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.03184, allocations: 23.92 kB / 411 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.03191, allocations: 15.95 kB / 411 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.03193, allocations: 15.94 kB / 411 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005381/0.03247, allocations: 235.1 kB / 411.2 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03247, allocations: 0 / 411.2 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005003/0.03297, allocations: 119.8 kB / 411.3 MB, free: 432 kB / 330.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.002643/0.03562, allocations: 461.8 kB / 411.8 MB, free: 120 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.1391/0.1747, allocations: 228.9 kB / 412 MB, free: 28.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.1747, allocations: 2.344 kB / 412 MB, free: 28.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002578/0.175, allocations: 113.9 kB / 412.1 MB, free: 28.74 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005832/0.1756, allocations: 67.06 kB / 412.2 MB, free: 28.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.1768, allocations: 0.7086 MB / 412.9 MB, free: 28.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.177, allocations: 197 kB / 413.1 MB, free: 28.37 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002011/0.1772, allocations: 53.81 kB / 413.1 MB, free: 28.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.174e-05/0.1773, allocations: 37.67 kB / 413.2 MB, free: 28.36 MB / 330.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1773, allocations: 0 / 413.2 MB, free: 28.36 MB / 330.7 MB Notification: Performance of Templates: time 0.01167/0.189, allocations: 5.184 MB / 418.4 MB, free: 27.82 MB / 330.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: 5.126773035153747]