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.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.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001504, allocations: 99.97 kB / 16.35 MB, free: 5.828 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.00164/0.00164, allocations: 191.1 kB / 17.29 MB, free: 5.484 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.447/1.447, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05576/0.05576, allocations: 11.84 MB / 282.4 MB, free: 240 kB / 222.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.001576/0.001576, allocations: 75.88 kB / 343.3 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2379, allocations: 49.21 MB / 392.5 MB, free: 49.38 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.00444/0.2424, allocations: 2.625 MB / 395.1 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.244, allocations: 0.6921 MB / 395.8 MB, free: 47.06 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.2443, allocations: 2.406 kB / 395.8 MB, free: 47.06 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.2444, allocations: 30.77 kB / 395.8 MB, free: 47.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005393/0.245, allocations: 115.3 kB / 395.9 MB, free: 46.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.2452, allocations: 44.41 kB / 396 MB, free: 46.94 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003832/0.2456, allocations: 260.8 kB / 396.2 MB, free: 46.8 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.2458, allocations: 54.64 kB / 396.3 MB, free: 46.78 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.246, allocations: 93.2 kB / 396.4 MB, free: 46.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.2462, allocations: 104.4 kB / 396.5 MB, free: 46.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.2462, allocations: 15.25 kB / 396.5 MB, free: 46.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.2463, allocations: 37.91 kB / 396.5 MB, free: 46.67 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.142e-05/0.2464, allocations: 38.75 kB / 396.6 MB, free: 46.64 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.2465, allocations: 104.7 kB / 396.7 MB, free: 46.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.2468, allocations: 203 kB / 396.9 MB, free: 46.51 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2468, allocations: 0 / 396.9 MB, free: 46.51 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2468, allocations: 1.469 kB / 396.9 MB, free: 46.51 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.2468, allocations: 0 / 396.9 MB, free: 46.51 MB / 318.1 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.0006386/0.2475, allocations: 0.5016 MB / 397.4 MB, free: 46.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2475, allocations: 18.92 kB / 397.4 MB, free: 46.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.2476, allocations: 19.16 kB / 397.4 MB, free: 46.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.2479, allocations: 238 kB / 397.6 MB, free: 45.78 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.2479, allocations: 15.09 kB / 397.7 MB, free: 45.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.248, allocations: 19.09 kB / 397.7 MB, free: 45.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.2484, allocations: 188.3 kB / 397.9 MB, free: 45.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.2484, allocations: 0.7969 kB / 397.9 MB, free: 45.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.2484, allocations: 10.28 kB / 397.9 MB, free: 45.65 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.2484, allocations: 8.25 kB / 397.9 MB, free: 45.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/0.2487, allocations: 120.5 kB / 398 MB, free: 45.61 MB / 318.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.001131/0.2498, allocations: 0.9258 MB / 398.9 MB, free: 44.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.2501, allocations: 154.5 kB / 399.1 MB, free: 44.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.2503, allocations: 61.59 kB / 399.1 MB, free: 44.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.2503, allocations: 8.438 kB / 399.1 MB, free: 44.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.2503, allocations: 35.14 kB / 399.2 MB, free: 44.65 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.2503, allocations: 0 / 399.2 MB, free: 44.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.001753/0.2521, allocations: 0.7475 MB / 399.9 MB, free: 44.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.2521, allocations: 87.23 kB / 400 MB, free: 44.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.2523, allocations: 172.9 kB / 400.2 MB, free: 43.92 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.2523, allocations: 31.14 kB / 400.2 MB, free: 43.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.2524, allocations: 125.4 kB / 400.3 MB, free: 43.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.2524, allocations: 66.16 kB / 400.4 MB, free: 43.72 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-05/0.2525, allocations: 43.38 kB / 400.4 MB, free: 43.69 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.328e-05/0.2526, allocations: 328.3 kB / 400.8 MB, free: 43.37 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.2527, allocations: 66.92 kB / 400.8 MB, free: 43.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.2529, allocations: 94.14 kB / 400.9 MB, free: 43.28 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.2531, allocations: 221 kB / 401.1 MB, free: 43.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2531, allocations: 0 / 401.1 MB, free: 43.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003503/0.2535, allocations: 230.2 kB / 401.4 MB, free: 42.97 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.2535, allocations: 31.64 kB / 401.4 MB, free: 42.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.2536, allocations: 5.094 kB / 401.4 MB, free: 42.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2536, allocations: 2.312 kB / 401.4 MB, free: 42.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.2539, allocations: 68.05 kB / 401.5 MB, free: 42.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2539, allocations: 1.188 kB / 401.5 MB, free: 42.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.254, allocations: 9.75 kB / 401.5 MB, free: 42.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.254, allocations: 5.75 kB / 401.5 MB, free: 42.91 MB / 318.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: 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.0001376/0.2542, allocations: 164.9 kB / 401.6 MB, free: 42.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.2542, allocations: 19.94 kB / 401.7 MB, free: 42.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004319/0.2547, allocations: 256.5 kB / 401.9 MB, free: 42.56 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2547, allocations: 3.422 kB / 401.9 MB, free: 42.56 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2547, allocations: 3.984 kB / 401.9 MB, free: 42.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.2547, allocations: 3.938 kB / 401.9 MB, free: 42.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006858/0.2554, allocations: 0.5798 MB / 402.5 MB, free: 42.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2554, allocations: 0 / 402.5 MB, free: 42.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.2557, allocations: 54.5 kB / 402.6 MB, free: 42.03 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2557, allocations: 5.406 kB / 402.6 MB, free: 42.03 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.2557, allocations: 14.05 kB / 402.6 MB, free: 42.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2557, allocations: 5 kB / 402.6 MB, free: 42.01 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2557, allocations: 0 / 402.6 MB, free: 42.01 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005595/0.2563, allocations: 398.9 kB / 403 MB, free: 41.73 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.451e-05/0.2564, allocations: 108.4 kB / 403.1 MB, free: 41.62 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.2564, allocations: 10.28 kB / 403.1 MB, free: 41.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.2566, allocations: 11.23 kB / 403.1 MB, free: 41.6 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.2566, allocations: 10.45 kB / 403.1 MB, free: 41.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.2566, allocations: 8.406 kB / 403.1 MB, free: 41.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.329e-05/0.2567, allocations: 134.8 kB / 403.2 MB, free: 41.49 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2567, allocations: 5.5 kB / 403.3 MB, free: 41.49 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003006/0.257, allocations: 47.56 kB / 403.3 MB, free: 41.48 MB / 318.1 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.0001259/0.2572, allocations: 108.8 kB / 403.4 MB, free: 41.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003667/0.2575, allocations: 218.9 kB / 403.6 MB, free: 41.26 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2576, allocations: 0 / 403.6 MB, free: 41.26 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.2577, allocations: 143.1 kB / 403.8 MB, free: 41.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.2581, allocations: 51.53 kB / 403.8 MB, free: 41.12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007705/0.2589, allocations: 490.5 kB / 404.3 MB, free: 40.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.259, allocations: 0.7295 MB / 405 MB, free: 40.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.2592, allocations: 34.77 kB / 405.1 MB, free: 40.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/0.2592, allocations: 24.03 kB / 405.1 MB, free: 40.04 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2592, allocations: 0 / 405.1 MB, free: 40.04 MB / 318.1 MB Notification: Performance of Templates: time 0.005444/0.2647, allocations: 2.687 MB / 407.8 MB, free: 38.73 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile (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 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1)