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.001228/0.001228, allocations: 114.4 kB / 16.42 MB, free: 6.414 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.001256/0.001256, allocations: 185.5 kB / 17.35 MB, free: 5.695 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.442/1.442, 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.05493/0.05493, allocations: 11.85 MB / 282.4 MB, free: 212 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.001485/0.001485, allocations: 72.98 kB / 393 MB, free: 45.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08874/0.09023, allocations: 49.23 MB / 442.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.003875/0.09417, allocations: 2.623 MB / 444.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.09546, allocations: 0.6864 MB / 445.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.0956, allocations: 7.938 kB / 445.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.09577, allocations: 27.7 kB / 445.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004065/0.09619, allocations: 119.2 kB / 445.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.09637, allocations: 55.73 kB / 445.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.09671, allocations: 246.7 kB / 446 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.0969, allocations: 77.41 kB / 446.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.09707, allocations: 83.72 kB / 446.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.09727, allocations: 103.5 kB / 446.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.09731, allocations: 16 kB / 446.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.09743, allocations: 32 kB / 446.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.342e-05/0.09749, allocations: 35.84 kB / 446.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.0976, allocations: 103.5 kB / 446.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.09789, allocations: 207.3 kB / 446.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.09791, allocations: 0 / 446.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.09791, allocations: 0 / 446.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.09793, allocations: 0 / 446.6 MB, free: 13.65 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.0007316/0.09866, allocations: 0.5004 MB / 447.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.09871, allocations: 11.89 kB / 447.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.09888, allocations: 32.59 kB / 447.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.09919, allocations: 228 kB / 447.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.09921, allocations: 8.375 kB / 447.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.235e-05/0.09927, allocations: 24.12 kB / 447.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.09963, allocations: 191.5 kB / 447.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.09966, allocations: 0 / 447.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.09968, allocations: 4 kB / 447.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.0997, allocations: 8 kB / 447.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.09995, allocations: 124.9 kB / 447.8 MB, free: 12.42 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.001304/0.1013, allocations: 0.9218 MB / 448.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.1016, allocations: 165.3 kB / 448.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.1017, allocations: 60.83 kB / 448.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1018, allocations: 4 kB / 448.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.1018, allocations: 30.56 kB / 448.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.814e-06/0.1018, allocations: 0 / 448.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.001825/0.1036, allocations: 0.7477 MB / 449.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.1037, allocations: 85.05 kB / 449.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.1039, allocations: 178.7 kB / 449.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.1039, allocations: 29.7 kB / 450 MB, free: 9.977 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.745e-05/0.104, allocations: 124.3 kB / 450.1 MB, free: 9.852 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.141e-05/0.1041, allocations: 74.94 kB / 450.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.056e-05/0.1042, allocations: 41.7 kB / 450.2 MB, free: 9.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1043, allocations: 326.8 kB / 450.5 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.1045, allocations: 60.83 kB / 450.6 MB, free: 9.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.1046, allocations: 100.2 kB / 450.7 MB, free: 9.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.105, allocations: 222.6 kB / 450.9 MB, free: 8.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.105, allocations: 0 / 450.9 MB, free: 8.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003854/0.1054, allocations: 227.1 kB / 451.1 MB, free: 8.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.1054, allocations: 29.7 kB / 451.1 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1054, allocations: 4 kB / 451.2 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1054, allocations: 3.938 kB / 451.2 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.1057, allocations: 59.98 kB / 451.2 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1057, allocations: 4 kB / 451.2 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.1059, allocations: 12 kB / 451.2 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.1059, allocations: 4 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.0001693/0.1061, allocations: 175.3 kB / 451.4 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.1061, allocations: 15.81 kB / 451.4 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004756/0.1066, allocations: 264.8 kB / 451.7 MB, free: 8.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.1066, allocations: 0 / 451.7 MB, free: 8.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1066, allocations: 0 / 451.7 MB, free: 8.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.978e-05/0.1067, allocations: 104.9 kB / 451.8 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.1068, allocations: 4 kB / 451.8 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.1069, allocations: 8 kB / 451.8 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.107, allocations: 15.97 kB / 451.8 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006268/0.1076, allocations: 390.2 kB / 452.2 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006197/0.1083, allocations: 480 kB / 452.7 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001537/0.1084, allocations: 87.84 kB / 452.7 MB, free: 7.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.1085, allocations: 131.2 kB / 452.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of Backend: time 9.42e-07/0.1086, allocations: 8.062 kB / 452.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006143/0.1092, allocations: 244.8 kB / 453.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009792/0.1102, allocations: 0.9669 MB / 454.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of Templates: time 0.0063/0.1165, allocations: 3.02 MB / 457.1 MB, free: 2.609 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)