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.001319/0.001319, allocations: 106.1 kB / 16.41 MB, free: 6.457 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.001202/0.001202, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.335/1.335, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05331/0.05331, allocations: 11.84 MB / 282.4 MB, free: 208 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.001486/0.001487, allocations: 69.84 kB / 393 MB, free: 45.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08477/0.08627, allocations: 49.23 MB / 442.2 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.003198/0.08952, allocations: 2.624 MB / 444.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.09074, allocations: 0.6864 MB / 445.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.09086, allocations: 4 kB / 445.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.09101, allocations: 27.7 kB / 445.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003431/0.09136, allocations: 119.1 kB / 445.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.09152, allocations: 43.94 kB / 445.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.09181, allocations: 250.7 kB / 446 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.09197, allocations: 73.47 kB / 446.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.09212, allocations: 91.66 kB / 446.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.09229, allocations: 103.5 kB / 446.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.09233, allocations: 12 kB / 446.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.09244, allocations: 28 kB / 446.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.716e-05/0.09249, allocations: 39.84 kB / 446.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.986e-05/0.09259, allocations: 103.5 kB / 446.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.09285, allocations: 207.3 kB / 446.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.09287, allocations: 4 kB / 446.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.09288, allocations: 3.984 kB / 446.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.09289, allocations: 0 / 446.6 MB, free: 13.63 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.0006475/0.09354, allocations: 0.4965 MB / 447.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.09358, allocations: 11.89 kB / 447.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.0937, allocations: 24.66 kB / 447.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.09399, allocations: 232 kB / 447.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.09401, allocations: 12.38 kB / 447.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.018e-05/0.09406, allocations: 24.12 kB / 447.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.09439, allocations: 183.5 kB / 447.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.09441, allocations: 3.938 kB / 447.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.09444, allocations: 8 kB / 447.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.09445, allocations: 4 kB / 447.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.09469, allocations: 124.9 kB / 447.7 MB, free: 12.41 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.00108/0.09577, allocations: 0.9296 MB / 448.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.09605, allocations: 153.4 kB / 448.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.09618, allocations: 68.83 kB / 448.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.09621, allocations: 0 / 448.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.09624, allocations: 38.5 kB / 448.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.042e-06/0.09625, allocations: 4 kB / 448.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.001693/0.09795, allocations: 0.7399 MB / 449.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.09801, allocations: 85.05 kB / 449.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.09815, allocations: 174.7 kB / 449.9 MB, free: 10 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.09819, allocations: 29.7 kB / 450 MB, free: 9.969 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.09826, allocations: 128.3 kB / 450.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.09832, allocations: 78.94 kB / 450.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.17e-05/0.0984, allocations: 33.7 kB / 450.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.09851, allocations: 330.8 kB / 450.5 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.09865, allocations: 64.81 kB / 450.6 MB, free: 9.324 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.09881, allocations: 92.27 kB / 450.7 MB, free: 9.219 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.09912, allocations: 218.5 kB / 450.9 MB, free: 8.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.09913, allocations: 3.938 kB / 450.9 MB, free: 8.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003805/0.09952, allocations: 231.1 kB / 451.1 MB, free: 8.738 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.09956, allocations: 29.7 kB / 451.1 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.09958, allocations: 7.938 kB / 451.2 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.0996, allocations: 0 / 451.2 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.09986, allocations: 59.89 kB / 451.2 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.09988, allocations: 0 / 451.2 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.1, allocations: 12 kB / 451.2 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.1, allocations: 12.08 kB / 451.2 MB, free: 8.613 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.0001734/0.1002, allocations: 171.3 kB / 451.4 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.1002, allocations: 15.81 kB / 451.4 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004647/0.1007, allocations: 256.8 kB / 451.7 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1007, allocations: 0 / 451.7 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1007, allocations: 0 / 451.7 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1008, allocations: 8.031 kB / 451.7 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007086/0.1015, allocations: 0.5823 MB / 452.3 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1015, allocations: 0 / 452.3 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.1017, allocations: 55.91 kB / 452.3 MB, free: 7.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1017, allocations: 4 kB / 452.3 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.1018, allocations: 7.984 kB / 452.3 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1018, allocations: 4 kB / 452.3 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1018, allocations: 0 / 452.3 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005685/0.1024, allocations: 408.7 kB / 452.7 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.835e-05/0.1025, allocations: 104.9 kB / 452.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.1025, allocations: 0 / 452.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.1026, allocations: 11.98 kB / 452.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.1027, allocations: 19.92 kB / 452.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.1027, allocations: 4.062 kB / 452.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.1028, allocations: 139.2 kB / 453 MB, free: 6.711 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1028, allocations: 0 / 453 MB, free: 6.711 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.1031, allocations: 59.94 kB / 453.1 MB, free: 6.652 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.0001362/0.1033, allocations: 111.2 kB / 453.2 MB, free: 6.535 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000369/0.1036, allocations: 211.1 kB / 453.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1036, allocations: 192 / 453.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.1038, allocations: 143.2 kB / 453.5 MB, free: 6.164 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.1042, allocations: 50.97 kB / 453.6 MB, free: 6.117 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008572/0.105, allocations: 0.4987 MB / 454.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.1054, allocations: 0.7326 MB / 454.8 MB, free: 4.824 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.1054, allocations: 27.42 kB / 454.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1054, allocations: 0 / 454.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of Templates: time 0.005092/0.1105, allocations: 2.817 MB / 457.6 MB, free: 1.996 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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1)