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.001769/0.001769, allocations: 110 kB / 18.93 MB, free: 2.945 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.002317/0.002317, allocations: 186.9 kB / 22.23 MB, free: 5.16 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.434/1.434, allocations: 207.6 MB / 233 MB, free: 10 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.06077/0.06077, allocations: 12 MB / 297.3 MB, free: 9.859 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.002451/0.002451, allocations: 67.91 kB / 416.8 MB, free: 42.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07738/0.07983, allocations: 51.94 MB / 468.7 MB, free: 6.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.004525/0.08436, allocations: 2.658 MB / 471.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.08602, allocations: 0.7098 MB / 472.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002309/0.08625, allocations: 4 kB / 472.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.0864, allocations: 23.72 kB / 472.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004928/0.0869, allocations: 119.2 kB / 472.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.08708, allocations: 43.94 kB / 472.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004251/0.0875, allocations: 258.7 kB / 472.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.08768, allocations: 53.78 kB / 472.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.08786, allocations: 95.62 kB / 472.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.08808, allocations: 99.5 kB / 472.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.08812, allocations: 16 kB / 472.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.08823, allocations: 32 kB / 472.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.68e-05/0.08828, allocations: 35.89 kB / 472.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.08841, allocations: 111.4 kB / 472.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003926/0.08881, allocations: 195.2 kB / 473.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.08881, allocations: 4 kB / 473.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.08882, allocations: 4 kB / 473.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.08883, allocations: 0 / 473.1 MB, free: 1.906 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.0007733/0.08961, allocations: 435.1 kB / 473.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.08965, allocations: 11.98 kB / 473.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.08978, allocations: 28.8 kB / 473.6 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.09014, allocations: 170.2 kB / 473.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.09017, allocations: 12.38 kB / 473.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.09022, allocations: 36.05 kB / 473.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.09059, allocations: 187.5 kB / 474 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.0906, allocations: 4 kB / 474 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.09062, allocations: 11.94 kB / 474 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.09064, allocations: 4 kB / 474 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.09091, allocations: 124.9 kB / 474.1 MB, free: 0.8281 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.001305/0.09222, allocations: 0.8608 MB / 475 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.09257, allocations: 138.8 kB / 475.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.09269, allocations: 56.83 kB / 475.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.09272, allocations: 7.938 kB / 475.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.09275, allocations: 38.56 kB / 475.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.833e-06/0.09276, allocations: 0 / 475.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001834/0.09459, allocations: 0.6774 MB / 475.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.09465, allocations: 81.11 kB / 476 MB, free: 14.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.09483, allocations: 174.8 kB / 476.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.09486, allocations: 25.7 kB / 476.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.107e-05/0.09495, allocations: 128.4 kB / 476.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.566e-05/0.09502, allocations: 83.31 kB / 476.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.13e-05/0.09509, allocations: 41.69 kB / 476.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.09524, allocations: 322.8 kB / 476.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.09542, allocations: 68.81 kB / 476.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.09559, allocations: 96.19 kB / 476.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.09594, allocations: 215.5 kB / 477.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.09594, allocations: 0 / 477.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004599/0.0964, allocations: 231.1 kB / 477.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.09644, allocations: 34.8 kB / 477.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.09645, allocations: 3.938 kB / 477.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.09647, allocations: 4 kB / 477.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.09677, allocations: 55.94 kB / 477.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.09678, allocations: 4 kB / 477.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.09691, allocations: 11.98 kB / 477.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.09693, allocations: 11.98 kB / 477.5 MB, free: 13.2 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.0002053/0.09713, allocations: 163.6 kB / 477.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.09718, allocations: 15.91 kB / 477.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005318/0.09771, allocations: 252.8 kB / 477.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.09772, allocations: 4 kB / 477.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.09772, allocations: 3.938 kB / 477.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.09772, allocations: 3.938 kB / 477.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008244/0.09855, allocations: 0.5502 MB / 478.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.09855, allocations: 0 / 478.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.09882, allocations: 63.91 kB / 478.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.09883, allocations: 3.984 kB / 478.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.09885, allocations: 4 kB / 478.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.09885, allocations: 0 / 478.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.09885, allocations: 0 / 478.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006285/0.09948, allocations: 408.9 kB / 478.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.179e-05/0.09956, allocations: 31.88 kB / 479 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.0996, allocations: 7.938 kB / 479 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.09974, allocations: 7.984 kB / 479 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.0998, allocations: 15.97 kB / 479 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.09981, allocations: 4 kB / 479 MB, free: 11.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.09994, allocations: 147.1 kB / 479.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.09994, allocations: 0 / 479.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003246/0.1003, allocations: 52 kB / 479.2 MB, free: 11.37 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.0001405/0.1004, allocations: 107.2 kB / 479.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000441/0.1008, allocations: 199.1 kB / 479.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1008, allocations: 0 / 479.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.101, allocations: 139.4 kB / 479.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.1014, allocations: 47.8 kB / 479.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000946/0.1024, allocations: 497.3 kB / 480.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.1028, allocations: 0.7365 MB / 480.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.1029, allocations: 37.81 kB / 480.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.729e-05/0.103, allocations: 23.42 kB / 481 MB, free: 9.523 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.103, allocations: 0 / 481 MB, free: 9.523 MB / 350.1 MB Notification: Performance of Templates: time 0.007376/0.1103, allocations: 2.876 MB / 483.8 MB, free: 6.684 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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5077379597350955] Failed to read output from testmodel.py, exit status != 0: 0.11851073242723942 0.134272894 0.042212008 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd8a1c797b0>