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.001832/0.001832, allocations: 105.6 kB / 16.41 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.002005/0.002005, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.449/1.449, 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.06211/0.06211, allocations: 11.85 MB / 282.4 MB, free: 220 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.002251/0.002251, allocations: 72.22 kB / 393 MB, free: 45.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06734/0.06959, allocations: 49.23 MB / 442.2 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.003086/0.07268, allocations: 2.63 MB / 444.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.07396, allocations: 0.698 MB / 445.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.07407, allocations: 4 kB / 445.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.0742, allocations: 27.72 kB / 445.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.07455, allocations: 123.1 kB / 445.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.0747, allocations: 43.94 kB / 445.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.07502, allocations: 254.7 kB / 446 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.07517, allocations: 57.48 kB / 446.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.07532, allocations: 87.66 kB / 446.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.07548, allocations: 99.55 kB / 446.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.07551, allocations: 16 kB / 446.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.07562, allocations: 35.98 kB / 446.3 MB, free: 14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.672e-05/0.07565, allocations: 31.86 kB / 446.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.07577, allocations: 111.5 kB / 446.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.07607, allocations: 203.2 kB / 446.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.07607, allocations: 0 / 446.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.07608, allocations: 0 / 446.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.07608, allocations: 0 / 446.6 MB, free: 13.66 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007565/0.07684, allocations: 0.5079 MB / 447.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.07687, allocations: 11.89 kB / 447.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.07698, allocations: 24.8 kB / 447.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.0773, allocations: 224.1 kB / 447.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.07732, allocations: 16.38 kB / 447.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.07736, allocations: 20.12 kB / 447.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.07774, allocations: 191.5 kB / 447.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.07776, allocations: 3.938 kB / 447.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.07778, allocations: 4 kB / 447.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.07779, allocations: 8 kB / 447.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002653/0.07805, allocations: 120.9 kB / 447.8 MB, free: 12.43 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.00128/0.07933, allocations: 0.9259 MB / 448.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.07963, allocations: 142.8 kB / 448.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.07977, allocations: 60.83 kB / 448.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.07979, allocations: 4 kB / 448.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.07983, allocations: 38.5 kB / 448.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.07983, allocations: 0 / 448.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.001942/0.08177, allocations: 0.7539 MB / 449.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.08183, allocations: 88.98 kB / 449.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.08202, allocations: 178.7 kB / 449.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.08204, allocations: 25.7 kB / 450 MB, free: 9.988 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.74e-05/0.08213, allocations: 128.5 kB / 450.1 MB, free: 9.859 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.53e-05/0.08221, allocations: 83.3 kB / 450.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.362e-05/0.08228, allocations: 37.7 kB / 450.2 MB, free: 9.734 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.08243, allocations: 326.8 kB / 450.5 MB, free: 9.406 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.0826, allocations: 64.83 kB / 450.6 MB, free: 9.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.08277, allocations: 96.25 kB / 450.7 MB, free: 9.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.08314, allocations: 219 kB / 450.9 MB, free: 8.992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.08314, allocations: 0 / 450.9 MB, free: 8.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004513/0.08359, allocations: 231.1 kB / 451.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.08363, allocations: 33.69 kB / 451.2 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.08364, allocations: 11.94 kB / 451.2 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.08365, allocations: 0 / 451.2 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.08396, allocations: 55.91 kB / 451.2 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.08396, allocations: 4 kB / 451.2 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.08409, allocations: 11.98 kB / 451.2 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.08411, allocations: 4.094 kB / 451.2 MB, free: 8.629 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: 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.0001909/0.0843, allocations: 179.3 kB / 451.4 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.08435, allocations: 15.91 kB / 451.4 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005361/0.08489, allocations: 256.8 kB / 451.7 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.08489, allocations: 0 / 451.7 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.0849, allocations: 4 kB / 451.7 MB, free: 8.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.0849, allocations: 4 kB / 451.7 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008739/0.08578, allocations: 0.5784 MB / 452.3 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.08578, allocations: 0 / 452.3 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.08605, allocations: 55.91 kB / 452.3 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.08605, allocations: 0 / 452.3 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.08608, allocations: 8 kB / 452.3 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.08608, allocations: 0 / 452.3 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.08608, allocations: 0 / 452.3 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006639/0.08674, allocations: 404.9 kB / 452.7 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.08685, allocations: 113 kB / 452.8 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.08688, allocations: 4 kB / 452.8 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.08703, allocations: 11.98 kB / 452.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.08709, allocations: 15.92 kB / 452.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.0871, allocations: 4.062 kB / 452.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.08723, allocations: 139.2 kB / 453 MB, free: 6.727 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.08723, allocations: 0 / 453 MB, free: 6.727 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00032/0.08755, allocations: 55.94 kB / 453.1 MB, free: 6.672 MB / 334.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.0001561/0.0877, allocations: 115.2 kB / 453.2 MB, free: 6.551 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004405/0.08814, allocations: 199.1 kB / 453.4 MB, free: 6.344 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.08814, allocations: 192 / 453.4 MB, free: 6.344 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.08835, allocations: 139.2 kB / 453.5 MB, free: 6.195 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.08871, allocations: 47.97 kB / 453.5 MB, free: 6.148 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009282/0.08964, allocations: 492.2 kB / 454 MB, free: 5.641 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.09003, allocations: 0.7326 MB / 454.8 MB, free: 4.879 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.09015, allocations: 25.94 kB / 454.8 MB, free: 4.852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.644e-05/0.09021, allocations: 27.42 kB / 454.8 MB, free: 4.824 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.09021, allocations: 0 / 454.8 MB, free: 4.824 MB / 334.1 MB Notification: Performance of Templates: time 0.006882/0.09709, allocations: 2.771 MB / 457.6 MB, free: 2.09 MB / 334.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 gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1)