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.001048/0.001048, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008669/0.00867, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.368/1.368, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05354/0.05354, allocations: 11.86 MB / 282.6 MB, free: 9.363 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.00057/0.0005699, allocations: 22.48 kB / 343.5 MB, free: 22.13 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08092/0.0815, allocations: 50.22 MB / 393.7 MB, free: 3.859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.003017/0.08456, allocations: 2.666 MB / 396.4 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.08594, allocations: 0.737 MB / 397.1 MB, free: 444 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.08617, allocations: 8 kB / 397.2 MB, free: 436 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.08632, allocations: 27.78 kB / 397.2 MB, free: 408 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003791/0.08671, allocations: 99.34 kB / 397.3 MB, free: 308 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.08688, allocations: 43.89 kB / 397.3 MB, free: 264 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.08716, allocations: 242.7 kB / 397.6 MB, free: 20 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.08733, allocations: 45.73 kB / 397.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.08747, allocations: 83.56 kB / 397.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.08765, allocations: 87.62 kB / 397.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.08769, allocations: 8 kB / 397.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-05/0.08779, allocations: 23.94 kB / 397.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.837e-05/0.08784, allocations: 35.83 kB / 397.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.08796, allocations: 113.2 kB / 398 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.08823, allocations: 203.5 kB / 398.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.08824, allocations: 4 kB / 398.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.08825, allocations: 4 kB / 398.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.08827, allocations: 0 / 398.2 MB, free: 15.41 MB / 302.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.0006811/0.08895, allocations: 476.5 kB / 398.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.089, allocations: 8.031 kB / 398.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.08914, allocations: 24.69 kB / 398.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.0894, allocations: 224 kB / 398.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.08943, allocations: 12.38 kB / 398.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.08948, allocations: 24.12 kB / 398.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/0.08985, allocations: 195.7 kB / 399.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.08988, allocations: 0 / 399.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.08991, allocations: 4 kB / 399.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.08993, allocations: 8 kB / 399.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.09019, allocations: 128.8 kB / 399.2 MB, free: 14.23 MB / 302.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.001121/0.09132, allocations: 0.9295 MB / 400.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.09161, allocations: 158.7 kB / 400.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.09175, allocations: 64.78 kB / 400.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.09179, allocations: 7.984 kB / 400.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.09182, allocations: 34.55 kB / 400.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.09183, allocations: 4 kB / 400.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001839/0.09367, allocations: 0.7912 MB / 401.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.09373, allocations: 77.11 kB / 401.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.09389, allocations: 182.6 kB / 401.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.09392, allocations: 29.7 kB / 401.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.094, allocations: 120.3 kB / 401.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.754e-05/0.09406, allocations: 75 kB / 401.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.09411, allocations: 21.72 kB / 401.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.09422, allocations: 330.8 kB / 402 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.09437, allocations: 60.83 kB / 402.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.09453, allocations: 104.2 kB / 402.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.09487, allocations: 221.8 kB / 402.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.09488, allocations: 0 / 402.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004044/0.09529, allocations: 240.2 kB / 402.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/0.09534, allocations: 41.69 kB / 402.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.09535, allocations: 0 / 402.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.09537, allocations: 4.031 kB / 402.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.09565, allocations: 63.91 kB / 402.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.09567, allocations: 3.984 kB / 402.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.09582, allocations: 12 kB / 402.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.09584, allocations: 4 kB / 402.8 MB, free: 10.36 MB / 302.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.0002006/0.09605, allocations: 167.9 kB / 402.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.0961, allocations: 15.81 kB / 403 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004795/0.09658, allocations: 269.1 kB / 403.2 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.0966, allocations: 0 / 403.2 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.09661, allocations: 4 kB / 403.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.09662, allocations: 4 kB / 403.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007052/0.09733, allocations: 0.5896 MB / 403.8 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.09734, allocations: 0 / 403.8 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.0976, allocations: 51.97 kB / 403.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.09761, allocations: 11.94 kB / 403.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.09763, allocations: 7.984 kB / 403.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.09764, allocations: 0 / 403.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.09765, allocations: 3.938 kB / 403.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005794/0.09823, allocations: 425.3 kB / 404.3 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/0.09833, allocations: 112.8 kB / 404.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.09837, allocations: 3.984 kB / 404.4 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.09852, allocations: 12 kB / 404.4 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.09858, allocations: 11.98 kB / 404.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.0986, allocations: 7.984 kB / 404.5 MB, free: 8.559 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.09871, allocations: 131.2 kB / 404.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.09872, allocations: 4.062 kB / 404.6 MB, free: 8.426 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.09902, allocations: 56 kB / 404.6 MB, free: 8.371 MB / 302.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.0001576/0.09918, allocations: 115.1 kB / 404.8 MB, free: 8.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003993/0.09959, allocations: 223 kB / 405 MB, free: 8.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.09961, allocations: 8.188 kB / 405 MB, free: 8.012 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.0998, allocations: 143.3 kB / 405.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.1002, allocations: 47.98 kB / 405.2 MB, free: 7.812 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008461/0.101, allocations: 0.5994 MB / 405.8 MB, free: 7.188 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.1013, allocations: 0.7329 MB / 406.5 MB, free: 6.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.1015, allocations: 33.88 kB / 406.5 MB, free: 6.395 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/0.1015, allocations: 27.42 kB / 406.6 MB, free: 6.367 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1015, allocations: 3.938 kB / 406.6 MB, free: 6.363 MB / 302.1 MB Notification: Performance of Templates: time 0.005497/0.107, allocations: 2.52 MB / 409.1 MB, free: 3.879 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1) Environment - environmentSimulation: