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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006615/0.006615, allocations: 102.8 kB / 15.74 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001586, allocations: 197.7 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05672/0.05672, allocations: 11.84 MB / 281.7 MB, free: 9.34 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.91 kB / 392.3 MB, free: 3.473 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2899, allocations: 49.22 MB / 441.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.003673/0.2936, allocations: 2.901 MB / 444.5 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002776/0.2964, allocations: 2.008 MB / 446.5 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.2966, allocations: 7.656 kB / 446.5 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.2969, allocations: 57.62 kB / 446.5 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004503/0.2974, allocations: 147.8 kB / 446.7 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009537/0.2983, allocations: 384.7 kB / 447 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004469/0.2988, allocations: 379.3 kB / 447.4 MB, free: 440 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.299, allocations: 92.95 kB / 447.5 MB, free: 392 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.2992, allocations: 133.8 kB / 447.6 MB, free: 328 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.2995, allocations: 148.7 kB / 447.8 MB, free: 256 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.503e-05/0.2995, allocations: 23.69 kB / 447.8 MB, free: 256 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005192/0.3, allocations: 250.7 kB / 448.1 MB, free: 188 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.045e-05/0.3001, allocations: 56.23 kB / 448.1 MB, free: 152 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.3003, allocations: 156.4 kB / 448.3 MB, free: 60 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007021/0.301, allocations: 457.3 kB / 448.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.301, allocations: 0 / 448.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.301, allocations: 0 / 448.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.301, allocations: 4 kB / 448.7 MB, free: 15.81 MB / 334.1 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.000902/0.3019, allocations: 0.5939 MB / 449.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.302, allocations: 13.95 kB / 449.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.3021, allocations: 37.8 kB / 449.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.3025, allocations: 268.8 kB / 449.6 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.3025, allocations: 23.12 kB / 449.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.3025, allocations: 35.42 kB / 449.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.3031, allocations: 271.6 kB / 449.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.3031, allocations: 0 / 449.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.3031, allocations: 10 kB / 449.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.3031, allocations: 9.609 kB / 450 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.3036, allocations: 218 kB / 450.2 MB, free: 14.64 MB / 334.1 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.002073/0.3057, allocations: 1.443 MB / 451.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.306, allocations: 146.3 kB / 451.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.3061, allocations: 72.58 kB / 451.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.3063, allocations: 171.8 kB / 452 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.3064, allocations: 31.94 kB / 452 MB, free: 12.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 3.476e-06/0.3064, allocations: 0 / 452 MB, free: 12.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.002/0.3084, allocations: 0.7363 MB / 452.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.3085, allocations: 52.66 kB / 452.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.3088, allocations: 275.8 kB / 453.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.3088, allocations: 27.02 kB / 453.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.3089, allocations: 156.4 kB / 453.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.219e-05/0.309, allocations: 80.28 kB / 453.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3091, allocations: 55.62 kB / 453.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3093, allocations: 332.4 kB / 453.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.3095, allocations: 84.66 kB / 453.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.3097, allocations: 127.5 kB / 453.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/0.3101, allocations: 202.6 kB / 454.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3101, allocations: 0 / 454.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005466/0.3107, allocations: 259.7 kB / 454.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.3107, allocations: 10.14 kB / 454.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3107, allocations: 6.406 kB / 454.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3107, allocations: 2.125 kB / 454.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.3111, allocations: 76.33 kB / 454.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.3111, allocations: 3.438 kB / 454.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.3112, allocations: 8.75 kB / 454.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.3113, allocations: 20.12 kB / 454.5 MB, free: 11 MB / 334.1 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.0002061/0.3115, allocations: 159.7 kB / 454.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.448e-05/0.3116, allocations: 28.31 kB / 454.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005644/0.3121, allocations: 241.4 kB / 454.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3121, allocations: 3.469 kB / 454.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3122, allocations: 0 / 454.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3122, allocations: 0 / 454.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.3132, allocations: 0.6452 MB / 455.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3132, allocations: 1.438 kB / 455.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.3135, allocations: 56.94 kB / 455.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.3135, allocations: 6.281 kB / 455.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.3135, allocations: 6.141 kB / 455.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3135, allocations: 1.156 kB / 455.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3136, allocations: 1.094 kB / 455.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007531/0.3143, allocations: 404.2 kB / 456 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.3145, allocations: 118.2 kB / 456.2 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.3146, allocations: 6.5 kB / 456.2 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.3147, allocations: 13.39 kB / 456.2 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.3148, allocations: 10.52 kB / 456.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.3148, allocations: 12.95 kB / 456.2 MB, free: 9.688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.315, allocations: 198.6 kB / 456.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.315, allocations: 0 / 456.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005202/0.3156, allocations: 107.7 kB / 456.5 MB, free: 9.535 MB / 334.1 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.0003878/0.3159, allocations: 190.4 kB / 456.7 MB, free: 9.398 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005364/0.3165, allocations: 187.6 kB / 456.9 MB, free: 9.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3165, allocations: 0 / 456.9 MB, free: 9.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.3167, allocations: 84.53 kB / 456.9 MB, free: 9.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.3172, allocations: 79.05 kB / 457 MB, free: 9.242 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.3184, allocations: 0.6415 MB / 457.7 MB, free: 8.785 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.3188, allocations: 0.7579 MB / 458.4 MB, free: 8.051 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001735/0.319, allocations: 41.09 kB / 458.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.561e-05/0.3191, allocations: 30.02 kB / 458.5 MB, free: 8.02 MB / 334.1 MB Notification: Performance of SimCode: time 5.62e-07/0.3191, allocations: 0 / 458.5 MB, free: 8.02 MB / 334.1 MB Notification: Performance of Templates: time 0.01013/0.3292, allocations: 5.025 MB / 463.5 MB, free: 4.762 MB / 334.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.makefile (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 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1)