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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 101.7 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 191.2 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 207.6 MB / 233.6 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06177/0.06177, allocations: 12.01 MB / 297.8 MB, free: 9.891 MB / 238.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") [Timeout 660] "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.002333/0.002333, allocations: 71.91 kB / 417.2 MB, free: 42.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0692/0.07153, allocations: 51.94 MB / 469.1 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.004417/0.07595, allocations: 2.646 MB / 471.8 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.0774, allocations: 0.7136 MB / 472.5 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.07754, allocations: 0 / 472.5 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.07767, allocations: 27.72 kB / 472.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004044/0.07807, allocations: 119.2 kB / 472.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.07824, allocations: 47.92 kB / 472.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.07859, allocations: 250.7 kB / 472.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.07873, allocations: 57.77 kB / 473 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.07889, allocations: 91.64 kB / 473.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.07907, allocations: 107.5 kB / 473.2 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.07911, allocations: 16 kB / 473.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.766e-05/0.07921, allocations: 36 kB / 473.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.947e-05/0.07924, allocations: 31.91 kB / 473.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.07936, allocations: 115.4 kB / 473.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.07966, allocations: 195.2 kB / 473.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.07967, allocations: 0 / 473.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.07967, allocations: 0 / 473.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.07967, allocations: 0 / 473.6 MB, free: 1.957 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.0006939/0.08037, allocations: 435.1 kB / 474 MB, free: 1.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.0804, allocations: 19.98 kB / 474 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.08051, allocations: 24.8 kB / 474 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.08081, allocations: 166.2 kB / 474.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.08083, allocations: 12.38 kB / 474.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.08087, allocations: 20.12 kB / 474.2 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.08123, allocations: 183.7 kB / 474.4 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.08124, allocations: 0 / 474.4 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.08126, allocations: 12 kB / 474.4 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.08127, allocations: 15.88 kB / 474.4 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.08156, allocations: 124.8 kB / 474.6 MB, free: 0.8906 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.001249/0.08281, allocations: 0.8609 MB / 475.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.0831, allocations: 138.8 kB / 475.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.08323, allocations: 56.83 kB / 475.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.08325, allocations: 7.906 kB / 475.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.08329, allocations: 34.56 kB / 475.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.08329, allocations: 0 / 475.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001804/0.08509, allocations: 0.6796 MB / 476.3 MB, free: 14.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.08516, allocations: 85.09 kB / 476.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.08534, allocations: 174.8 kB / 476.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.08536, allocations: 25.7 kB / 476.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.799e-05/0.08546, allocations: 128.4 kB / 476.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.392e-05/0.08553, allocations: 75.33 kB / 476.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-05/0.0856, allocations: 41.69 kB / 476.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.08575, allocations: 326.8 kB / 477.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.08592, allocations: 68.81 kB / 477.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.08609, allocations: 88.27 kB / 477.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.08644, allocations: 217.2 kB / 477.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.08645, allocations: 4 kB / 477.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004401/0.08689, allocations: 235 kB / 477.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.019e-05/0.08693, allocations: 34.8 kB / 477.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.08693, allocations: 3.938 kB / 477.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.08695, allocations: 8 kB / 477.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.08726, allocations: 63.98 kB / 477.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.08727, allocations: 0 / 477.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.0874, allocations: 8 kB / 477.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.08742, allocations: 15.97 kB / 477.9 MB, free: 13.25 MB / 350.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.0001707/0.08759, allocations: 155.5 kB / 478.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.08764, allocations: 15.91 kB / 478.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005352/0.08818, allocations: 256.8 kB / 478.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.08818, allocations: 4 kB / 478.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.08818, allocations: 0 / 478.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.08819, allocations: 0 / 478.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008332/0.08902, allocations: 0.5657 MB / 478.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.08902, allocations: 0 / 478.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/0.08931, allocations: 47.97 kB / 478.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.08932, allocations: 8 kB / 478.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.08934, allocations: 7.984 kB / 479 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.08934, allocations: 3.938 kB / 479 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.08934, allocations: 0 / 479 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006439/0.08999, allocations: 404.9 kB / 479.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.512e-05/0.09007, allocations: 31.88 kB / 479.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.0901, allocations: 4 kB / 479.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.09026, allocations: 15.98 kB / 479.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.09032, allocations: 19.97 kB / 479.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.09033, allocations: 4 kB / 479.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.09045, allocations: 135.1 kB / 479.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09045, allocations: 0 / 479.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.09078, allocations: 55.98 kB / 479.6 MB, free: 11.43 MB / 350.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.0001367/0.09092, allocations: 107.2 kB / 479.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000438/0.09136, allocations: 203.1 kB / 479.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.09136, allocations: 0 / 479.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002109/0.09157, allocations: 135.3 kB / 480.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.09194, allocations: 51.92 kB / 480.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009359/0.09287, allocations: 498.2 kB / 480.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.09327, allocations: 0.7365 MB / 481.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.09339, allocations: 25.94 kB / 481.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.09346, allocations: 23.42 kB / 481.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.09346, allocations: 3.938 kB / 481.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of Templates: time 0.007166/0.1006, allocations: 2.871 MB / 484.2 MB, free: 6.746 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.229824283000198] Failed to read output from testmodel.py, exit status != 0: 0.1080318740059738 0.12398790699999994 0.041171784 Calling exit ...