Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.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.0009785/0.0009785, allocations: 84.44 kB / 19.93 MB, free: 4.613 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.0009744/0.0009744, allocations: 173.9 kB / 23.21 MB, free: 1.332 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.9305/0.9305, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.03579/0.03579, allocations: 8.697 MB / 268.7 MB, free: 4.75 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.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 395.4 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.172e-05, allocations: 2.281 kB / 395.4 MB, free: 1.523 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.004386/0.004418, allocations: 2.499 MB / 397.9 MB, free: 15 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.005988, allocations: 0.7672 MB / 398.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.006156, allocations: 7.938 kB / 398.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.006299, allocations: 23.72 kB / 398.7 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004598/0.006758, allocations: 115.2 kB / 398.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.006982, allocations: 67.72 kB / 398.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000353/0.007335, allocations: 262.5 kB / 399.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.007505, allocations: 44.5 kB / 399.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004545/0.00796, allocations: 143.6 kB / 399.3 MB, free: 13.58 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.008128, allocations: 79.73 kB / 399.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.00816, allocations: 16 kB / 399.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.008274, allocations: 39.91 kB / 399.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.008314, allocations: 35.84 kB / 399.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.823e-05/0.008402, allocations: 71.83 kB / 399.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.008731, allocations: 211.3 kB / 399.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.008736, allocations: 0 / 399.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.008737, allocations: 3.938 kB / 399.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.008743, allocations: 0 / 399.8 MB, free: 13.13 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006915/0.009434, allocations: 443 kB / 400.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.009484, allocations: 12.03 kB / 400.2 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.009676, allocations: 32.78 kB / 400.3 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.009942, allocations: 177.3 kB / 400.4 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.009963, allocations: 12.38 kB / 400.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.01, allocations: 24.36 kB / 400.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.01038, allocations: 210.2 kB / 400.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.0104, allocations: 3.938 kB / 400.7 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.01042, allocations: 8 kB / 400.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.01043, allocations: 4 kB / 400.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.01069, allocations: 146.6 kB / 400.8 MB, free: 11.99 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.001214/0.01191, allocations: 0.5945 MB / 401.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.01216, allocations: 168.4 kB / 401.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.752e-05/0.01224, allocations: 86.53 kB / 401.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.01226, allocations: 0 / 401.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.01229, allocations: 34.56 kB / 401.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.993e-06/0.01229, allocations: 3.938 kB / 401.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.001179/0.01347, allocations: 0.7273 MB / 402.4 MB, free: 10.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.01351, allocations: 81.11 kB / 402.5 MB, free: 10.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.644e-05/0.0136, allocations: 158.9 kB / 402.7 MB, free: 9.984 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.01362, allocations: 29.7 kB / 402.7 MB, free: 9.949 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.01367, allocations: 132.5 kB / 402.8 MB, free: 9.816 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.01371, allocations: 79.3 kB / 402.9 MB, free: 9.738 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.01376, allocations: 37.7 kB / 403 MB, free: 9.695 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.863e-05/0.01382, allocations: 330.8 kB / 403.3 MB, free: 9.363 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.779e-05/0.01392, allocations: 90.52 kB / 403.4 MB, free: 9.266 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.01403, allocations: 121.9 kB / 403.5 MB, free: 9.125 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.01425, allocations: 220.7 kB / 403.7 MB, free: 8.883 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01425, allocations: 3.938 kB / 403.7 MB, free: 8.879 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002571/0.01451, allocations: 255 kB / 404 MB, free: 8.613 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.01454, allocations: 29.7 kB / 404 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01454, allocations: 0 / 404 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.01456, allocations: 4 kB / 404 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.01473, allocations: 67.98 kB / 404.1 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.01473, allocations: 0 / 404.1 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.376e-05/0.01479, allocations: 11.92 kB / 404.1 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.0148, allocations: 12 kB / 404.1 MB, free: 8.484 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: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0001404/0.01494, allocations: 155.5 kB / 404.2 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.01497, allocations: 19.89 kB / 404.2 MB, free: 8.297 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.01528, allocations: 278.8 kB / 404.5 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.01529, allocations: 8 kB / 404.5 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.01529, allocations: 3.984 kB / 404.5 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.0153, allocations: 7.922 kB / 404.5 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005112/0.01581, allocations: 0.5199 MB / 405.1 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.01581, allocations: 0 / 405.1 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.01596, allocations: 63.89 kB / 405.1 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01596, allocations: 0 / 405.1 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.01597, allocations: 4 kB / 405.1 MB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.01598, allocations: 11.92 kB / 405.1 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01598, allocations: 0 / 405.1 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.01637, allocations: 458.5 kB / 405.6 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.01642, allocations: 27.92 kB / 405.6 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.01644, allocations: 4 kB / 405.6 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.314e-05/0.0165, allocations: 15.92 kB / 405.6 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.01655, allocations: 11.97 kB / 405.6 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.01656, allocations: 4 kB / 405.6 MB, free: 6.801 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.077e-05/0.01662, allocations: 131.8 kB / 405.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01662, allocations: 7.938 kB / 405.8 MB, free: 6.664 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001938/0.01681, allocations: 48 kB / 405.8 MB, free: 6.617 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealPump.phi) * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.000147/0.01696, allocations: 115.1 kB / 405.9 MB, free: 6.496 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.01723, allocations: 254.5 kB / 406.2 MB, free: 6.223 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01723, allocations: 0 / 406.2 MB, free: 6.223 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.01735, allocations: 168.9 kB / 406.4 MB, free: 6.039 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.01758, allocations: 32.11 kB / 406.4 MB, free: 6.008 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006736/0.01825, allocations: 485.7 kB / 406.9 MB, free: 5.496 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.627e-05/0.01833, allocations: 129.5 kB / 407 MB, free: 5.348 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.978e-05/0.01838, allocations: 24.5 kB / 407 MB, free: 5.324 MB / 330.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01838, allocations: 0 / 407 MB, free: 5.324 MB / 330.7 MB Notification: Performance of Templates: time 0.003107/0.02148, allocations: 2.737 MB / 409.7 MB, free: 2.602 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.399998551001772]