Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.0009896/0.0009896, allocations: 84.53 kB / 19.93 MB, free: 4.605 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.0009854/0.0009854, allocations: 177.9 kB / 23.21 MB, free: 1.324 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.9445/0.9445, allocations: 177.1 MB / 203.5 MB, free: 5.695 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.034/0.034, allocations: 8.703 MB / 268.7 MB, free: 4.758 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.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 395.4 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.109e-05, allocations: 2.281 kB / 395.4 MB, free: 1.555 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.002666/0.002687, allocations: 2.717 MB / 398.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.004771, allocations: 1.946 MB / 400.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.004895, allocations: 7.938 kB / 400.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.005115, allocations: 55.55 kB / 400.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.005412, allocations: 158.7 kB / 400.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000535/0.005947, allocations: 406.3 kB / 400.7 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002884/0.006235, allocations: 390 kB / 401.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.006378, allocations: 65.48 kB / 401.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.006591, allocations: 203.5 kB / 401.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.00674, allocations: 123.6 kB / 401.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.006767, allocations: 24 kB / 401.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.007031, allocations: 243.7 kB / 401.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.007085, allocations: 63.77 kB / 401.8 MB, free: 11.15 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.181e-05/0.007166, allocations: 111.7 kB / 401.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.0076, allocations: 0.4946 MB / 402.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.007603, allocations: 4 kB / 402.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.007603, allocations: 3.938 kB / 402.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.007607, allocations: 0 / 402.4 MB, free: 10.54 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0006008/0.008208, allocations: 0.5243 MB / 402.9 MB, free: 9.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.008242, allocations: 8.031 kB / 402.9 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.008371, allocations: 44.73 kB / 403 MB, free: 9.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.00859, allocations: 213 kB / 403.2 MB, free: 9.695 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.008606, allocations: 16.88 kB / 403.2 MB, free: 9.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.008639, allocations: 24.38 kB / 403.2 MB, free: 9.656 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.008975, allocations: 308.7 kB / 403.5 MB, free: 9.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.008986, allocations: 0 / 403.5 MB, free: 9.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.009003, allocations: 16 kB / 403.5 MB, free: 9.324 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.009009, allocations: 4 kB / 403.5 MB, free: 9.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002515/0.009261, allocations: 213.9 kB / 403.8 MB, free: 9.113 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.001046/0.01031, allocations: 0.7954 MB / 404.6 MB, free: 8.273 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.01051, allocations: 150.8 kB / 404.7 MB, free: 8.117 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.61e-05/0.01059, allocations: 64.83 kB / 404.8 MB, free: 8.051 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.491e-05/0.01067, allocations: 23.92 kB / 404.8 MB, free: 8.027 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.01069, allocations: 34.5 kB / 404.8 MB, free: 7.984 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.01069, allocations: 0 / 404.8 MB, free: 7.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.00108/0.01177, allocations: 0.6617 MB / 405.5 MB, free: 7.293 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.01179, allocations: 51.41 kB / 405.5 MB, free: 7.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.01193, allocations: 215.2 kB / 405.7 MB, free: 7.012 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.01195, allocations: 29.7 kB / 405.8 MB, free: 6.977 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.01202, allocations: 168.6 kB / 405.9 MB, free: 6.805 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.01205, allocations: 79.33 kB / 406 MB, free: 6.727 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.01211, allocations: 49.94 kB / 406.1 MB, free: 6.672 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.816e-05/0.01219, allocations: 330.8 kB / 406.4 MB, free: 6.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.01244, allocations: 85.78 kB / 406.5 MB, free: 6.254 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.01257, allocations: 152.5 kB / 406.6 MB, free: 6.078 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.01279, allocations: 214.3 kB / 406.8 MB, free: 5.852 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.01279, allocations: 0 / 406.8 MB, free: 5.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002919/0.01309, allocations: 257.2 kB / 407.1 MB, free: 5.594 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.0131, allocations: 11.88 kB / 407.1 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.01311, allocations: 4 kB / 407.1 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.01312, allocations: 160 / 407.1 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.01327, allocations: 75.95 kB / 407.2 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.01328, allocations: 3.938 kB / 407.2 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.184e-05/0.01334, allocations: 15.98 kB / 407.2 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.01335, allocations: 8 kB / 407.2 MB, free: 5.477 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: 7 * 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 (28): * Single equations (assignments): 28 * 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.0001271/0.01348, allocations: 152.8 kB / 407.3 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.01351, allocations: 27.84 kB / 407.4 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/0.01382, allocations: 235.4 kB / 407.6 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.01382, allocations: 3.938 kB / 407.6 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.01383, allocations: 4 kB / 407.6 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01383, allocations: 0 / 407.6 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005353/0.01437, allocations: 0.5293 MB / 408.1 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01437, allocations: 0 / 408.1 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.0145, allocations: 63.94 kB / 408.2 MB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.01451, allocations: 4.031 kB / 408.2 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.01452, allocations: 15.92 kB / 408.2 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01452, allocations: 0 / 408.2 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01453, allocations: 0 / 408.2 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.01491, allocations: 392.7 kB / 408.6 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.01496, allocations: 35.91 kB / 408.6 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.01498, allocations: 11.89 kB / 408.6 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.937e-05/0.01505, allocations: 16.05 kB / 408.7 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.01509, allocations: 15.92 kB / 408.7 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.0151, allocations: 11.98 kB / 408.7 MB, free: 3.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.584e-05/0.01519, allocations: 152.9 kB / 408.8 MB, free: 3.758 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01519, allocations: 0 / 408.8 MB, free: 3.758 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.01545, allocations: 119.7 kB / 409 MB, free: 3.641 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 22 * 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.0002221/0.01567, allocations: 186.9 kB / 409.1 MB, free: 3.445 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.01593, allocations: 179.7 kB / 409.3 MB, free: 3.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.01593, allocations: 0 / 409.3 MB, free: 3.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.01603, allocations: 79.91 kB / 409.4 MB, free: 3.191 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.0163, allocations: 52.95 kB / 409.4 MB, free: 3.141 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007177/0.01702, allocations: 0.575 MB / 410 MB, free: 2.531 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.839e-05/0.01712, allocations: 146.9 kB / 410.2 MB, free: 2.371 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/0.01718, allocations: 36.48 kB / 410.2 MB, free: 2.332 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01718, allocations: 0 / 410.2 MB, free: 2.332 MB / 330.7 MB Notification: Performance of Templates: time 0.14/0.1572, allocations: 4.281 MB / 414.5 MB, free: 28.96 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.408475442091003]