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.0009753/0.0009753, allocations: 84.53 kB / 19.93 MB, free: 4.609 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.0009368/0.0009368, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.9442/0.9442, allocations: 177.1 MB / 203.5 MB, free: 5.777 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.03402/0.03402, allocations: 8.702 MB / 268.6 MB, free: 4.773 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 2.234e-06/2.234e-06, allocations: 0 / 395.4 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.287e-05, allocations: 2.281 kB / 395.4 MB, free: 1.555 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.003503/0.003526, allocations: 3.058 MB / 398.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.005689, allocations: 2.041 MB / 400.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.005835, allocations: 4 kB / 400.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.006202, allocations: 99.3 kB / 400.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004049/0.006607, allocations: 266.2 kB / 400.9 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.007094, allocations: 362.6 kB / 401.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004004/0.007494, allocations: 0.5247 MB / 401.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.007671, allocations: 80.19 kB / 401.8 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000299/0.00797, allocations: 279.3 kB / 402.1 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.008186, allocations: 159.5 kB / 402.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.008227, allocations: 36 kB / 402.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/0.008506, allocations: 239.7 kB / 402.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.685e-05/0.008593, allocations: 91.61 kB / 402.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.008705, allocations: 139.6 kB / 402.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006073/0.009312, allocations: 0.6387 MB / 403.4 MB, free: 9.539 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.009315, allocations: 0 / 403.4 MB, free: 9.539 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.009316, allocations: 0 / 403.4 MB, free: 9.539 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.009323, allocations: 0 / 403.4 MB, free: 9.539 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.0008618/0.01018, allocations: 0.6447 MB / 404 MB, free: 8.863 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.01023, allocations: 12.03 kB / 404.1 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.01038, allocations: 52.69 kB / 404.1 MB, free: 8.801 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.01072, allocations: 289.5 kB / 404.4 MB, free: 8.488 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.01075, allocations: 25.02 kB / 404.4 MB, free: 8.465 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/0.01079, allocations: 28.12 kB / 404.4 MB, free: 8.438 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007301/0.01152, allocations: 346.8 kB / 404.8 MB, free: 8.082 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.01154, allocations: 0 / 404.8 MB, free: 8.082 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.01156, allocations: 12 kB / 404.8 MB, free: 8.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.01157, allocations: 15.98 kB / 404.8 MB, free: 8.055 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003467/0.01192, allocations: 262.4 kB / 405.1 MB, free: 7.797 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.001283/0.0132, allocations: 0.9019 MB / 406 MB, free: 6.848 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.01351, allocations: 210.6 kB / 406.2 MB, free: 6.633 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.01364, allocations: 84.83 kB / 406.3 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.474e-05/0.0137, allocations: 15.98 kB / 406.3 MB, free: 6.531 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.01372, allocations: 38.5 kB / 406.3 MB, free: 6.484 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.01372, allocations: 0 / 406.3 MB, free: 6.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.001349/0.01507, allocations: 0.7858 MB / 407.1 MB, free: 5.664 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.0151, allocations: 55.64 kB / 407.2 MB, free: 5.598 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.01535, allocations: 324.6 kB / 407.5 MB, free: 5.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.01537, allocations: 30.14 kB / 407.5 MB, free: 5.234 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.651e-05/0.01547, allocations: 200.6 kB / 407.7 MB, free: 5.035 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.01552, allocations: 103.1 kB / 407.8 MB, free: 4.934 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-05/0.01558, allocations: 53.98 kB / 407.8 MB, free: 4.875 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.502e-05/0.01568, allocations: 354.7 kB / 408.2 MB, free: 4.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.01583, allocations: 102 kB / 408.3 MB, free: 4.414 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.01599, allocations: 157.5 kB / 408.4 MB, free: 4.234 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.01628, allocations: 254.5 kB / 408.7 MB, free: 3.961 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01628, allocations: 4 kB / 408.7 MB, free: 3.957 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003628/0.01664, allocations: 309 kB / 409 MB, free: 3.648 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.01666, allocations: 11.94 kB / 409 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.01666, allocations: 0 / 409 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.01668, allocations: 4.219 kB / 409 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.01688, allocations: 87.88 kB / 409.1 MB, free: 3.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.01689, allocations: 7.938 kB / 409.1 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.687e-05/0.01697, allocations: 12 kB / 409.1 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.01699, allocations: 15.97 kB / 409.1 MB, free: 3.512 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.0001629/0.01715, allocations: 173.7 kB / 409.3 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.01719, allocations: 35.77 kB / 409.3 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004556/0.01765, allocations: 309.2 kB / 409.6 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.01765, allocations: 8.031 kB / 409.7 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.01766, allocations: 0 / 409.7 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.01766, allocations: 7.922 kB / 409.7 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006901/0.01835, allocations: 0.6273 MB / 410.3 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.01835, allocations: 0 / 410.3 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.01853, allocations: 83.88 kB / 410.4 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.01854, allocations: 0 / 410.4 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.01855, allocations: 8 kB / 410.4 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.01856, allocations: 3.938 kB / 410.4 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.7e-07/0.01856, allocations: 0 / 410.4 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.01922, allocations: 0.489 MB / 410.9 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.01931, allocations: 51.77 kB / 410.9 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.01934, allocations: 8.062 kB / 410.9 MB, free: 1.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.796e-05/0.01944, allocations: 19.92 kB / 410.9 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.01949, allocations: 23.91 kB / 411 MB, free: 1.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.01951, allocations: 7.984 kB / 411 MB, free: 1.602 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001756/0.01969, allocations: 239.1 kB / 411.2 MB, free: 1.371 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01969, allocations: 0 / 411.2 MB, free: 1.371 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002864/0.01997, allocations: 123.7 kB / 411.3 MB, free: 1.25 MB / 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.0011/0.02107, allocations: 455.1 kB / 411.8 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003511/0.02142, allocations: 230.6 kB / 412 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02143, allocations: 3.938 kB / 412 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.02156, allocations: 107.9 kB / 412.1 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.0219, allocations: 78.33 kB / 412.2 MB, free: 0.543 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1282/0.1501, allocations: 0.7309 MB / 412.9 MB, free: 28.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.1502, allocations: 203.5 kB / 413.1 MB, free: 28.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.1504, allocations: 42.45 kB / 413.2 MB, free: 28.72 MB / 330.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1504, allocations: 0 / 413.2 MB, free: 28.72 MB / 330.7 MB Notification: Performance of Templates: time 0.005849/0.1562, allocations: 5.698 MB / 418.9 MB, free: 28.26 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 > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.689798048930243]