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.001708/0.001708, allocations: 112.1 kB / 16.42 MB, free: 6.441 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.00195/0.00195, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.807/1.807, 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.058/0.058, allocations: 11.85 MB / 282.4 MB, free: 204 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.001534/0.001534, allocations: 68.97 kB / 393 MB, free: 45.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08615/0.08769, allocations: 49.23 MB / 442.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.003276/0.09102, allocations: 2.625 MB / 444.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.09227, allocations: 0.6942 MB / 445.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.09241, allocations: 4 kB / 445.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.09256, allocations: 31.66 kB / 445.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.09292, allocations: 111.2 kB / 445.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.09308, allocations: 51.81 kB / 445.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002821/0.09337, allocations: 250.7 kB / 446 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.09354, allocations: 73.47 kB / 446.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.09368, allocations: 83.66 kB / 446.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.09387, allocations: 107.5 kB / 446.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.0939, allocations: 16 kB / 446.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.981e-05/0.09401, allocations: 28 kB / 446.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.939e-05/0.09406, allocations: 39.84 kB / 446.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.09416, allocations: 107.5 kB / 446.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.09444, allocations: 207.3 kB / 446.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.09446, allocations: 0 / 446.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.09446, allocations: 0 / 446.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.09448, allocations: 0 / 446.6 MB, free: 13.64 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.0006869/0.09517, allocations: 0.4926 MB / 447.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.09522, allocations: 11.89 kB / 447.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.09534, allocations: 24.66 kB / 447.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.09565, allocations: 239.9 kB / 447.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.09569, allocations: 12.38 kB / 447.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.09573, allocations: 20.11 kB / 447.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.09608, allocations: 191.5 kB / 447.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.09611, allocations: 0 / 447.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.09613, allocations: 4 kB / 447.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.09615, allocations: 11.98 kB / 447.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.09642, allocations: 128.9 kB / 447.8 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.001147/0.09757, allocations: 0.9218 MB / 448.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.09787, allocations: 153.5 kB / 448.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.09801, allocations: 64.83 kB / 448.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.09804, allocations: 3.938 kB / 448.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.09807, allocations: 38.56 kB / 448.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 2.815e-06/0.09808, allocations: 0 / 448.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.001802/0.09988, allocations: 0.7476 MB / 449.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.09994, allocations: 81.11 kB / 449.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.1001, allocations: 182.7 kB / 449.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1001, allocations: 25.7 kB / 450 MB, free: 9.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.377e-05/0.1002, allocations: 128.3 kB / 450.1 MB, free: 9.836 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/0.1003, allocations: 66.95 kB / 450.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-05/0.1003, allocations: 41.69 kB / 450.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1005, allocations: 326.8 kB / 450.5 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.1006, allocations: 64.81 kB / 450.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.1008, allocations: 96.2 kB / 450.7 MB, free: 9.219 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.1011, allocations: 214.5 kB / 450.9 MB, free: 8.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1011, allocations: 4 kB / 450.9 MB, free: 8.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004013/0.1015, allocations: 227.1 kB / 451.1 MB, free: 8.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/0.1016, allocations: 37.7 kB / 451.2 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1016, allocations: 0 / 451.2 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1016, allocations: 3.938 kB / 451.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.1019, allocations: 59.89 kB / 451.2 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1019, allocations: 4 kB / 451.2 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.1021, allocations: 12.14 kB / 451.2 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.1021, allocations: 7.984 kB / 451.2 MB, free: 8.617 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.0001815/0.1023, allocations: 171.3 kB / 451.4 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.1023, allocations: 15.81 kB / 451.4 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004782/0.1028, allocations: 256.8 kB / 451.7 MB, free: 8.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1028, allocations: 4 kB / 451.7 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1028, allocations: 0 / 451.7 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.032e-05/0.1029, allocations: 112.8 kB / 451.8 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.103, allocations: 4 kB / 451.8 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.1031, allocations: 4 kB / 451.8 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.1032, allocations: 19.97 kB / 451.8 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006408/0.1038, allocations: 386.2 kB / 452.2 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006354/0.1045, allocations: 488 kB / 452.7 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001607/0.1047, allocations: 79.84 kB / 452.7 MB, free: 7.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1048, allocations: 139.2 kB / 452.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of Backend: time 6.11e-07/0.1048, allocations: 0 / 452.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006424/0.1054, allocations: 248.8 kB / 453.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of SimCode: time 0.001031/0.1065, allocations: 0.9668 MB / 454.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of Templates: time 0.006128/0.1126, allocations: 2.944 MB / 457 MB, free: 2.672 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)