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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 169.3 kB / 23.02 MB, free: 1.555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9216/0.9216, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.04565/0.04565, allocations: 8.709 MB / 268.7 MB, free: 4.523 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 340.8 MB, free: 8.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.027e-05, allocations: 2.312 kB / 340.9 MB, free: 8.051 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.002345/0.002366, allocations: 2.667 MB / 343.5 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008945/0.00326, allocations: 0.7945 MB / 344.3 MB, free: 4.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.271e-05/0.003353, allocations: 4 kB / 344.3 MB, free: 4.562 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.003456, allocations: 27.66 kB / 344.3 MB, free: 4.535 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.003733, allocations: 119.1 kB / 344.5 MB, free: 4.418 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.003865, allocations: 63.8 kB / 344.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.004056, allocations: 262.5 kB / 344.8 MB, free: 4.098 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.004166, allocations: 52.47 kB / 344.8 MB, free: 4.047 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.004331, allocations: 139.7 kB / 345 MB, free: 3.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.004435, allocations: 79.67 kB / 345 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.004457, allocations: 16 kB / 345.1 MB, free: 3.816 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.724e-05/0.004524, allocations: 35.97 kB / 345.1 MB, free: 3.781 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.004546, allocations: 35.84 kB / 345.1 MB, free: 3.746 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.004596, allocations: 71.84 kB / 345.2 MB, free: 3.676 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.004772, allocations: 159.4 kB / 345.4 MB, free: 3.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.004774, allocations: 7.938 kB / 345.4 MB, free: 3.512 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004775, allocations: 0 / 345.4 MB, free: 3.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.004779, allocations: 0 / 345.4 MB, free: 3.512 MB / 266.7 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.0003974/0.005176, allocations: 0.5286 MB / 345.9 MB, free: 2.941 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.005208, allocations: 8.031 kB / 345.9 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.005341, allocations: 56.72 kB / 346 MB, free: 2.879 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.005494, allocations: 173.1 kB / 346.1 MB, free: 2.684 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.005505, allocations: 12.38 kB / 346.1 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.005529, allocations: 16.38 kB / 346.2 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.005715, allocations: 208.5 kB / 346.4 MB, free: 2.426 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.005726, allocations: 7.922 kB / 346.4 MB, free: 2.418 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.005738, allocations: 4 kB / 346.4 MB, free: 2.414 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.005746, allocations: 4 kB / 346.4 MB, free: 2.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.005848, allocations: 99.22 kB / 346.5 MB, free: 2.309 MB / 266.7 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.0005405/0.006389, allocations: 0.6668 MB / 347.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.006544, allocations: 144.8 kB / 347.3 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.006597, allocations: 73.36 kB / 347.3 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.006615, allocations: 4 kB / 347.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.267e-05/0.006628, allocations: 33.39 kB / 347.4 MB, free: 1.309 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.122e-06/0.006629, allocations: 0 / 347.4 MB, free: 1.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007963/0.007425, allocations: 0.5991 MB / 348 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.8e-05/0.007443, allocations: 89.05 kB / 348.1 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.066e-05/0.007514, allocations: 212.2 kB / 348.3 MB, free: 320 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.007523, allocations: 25.7 kB / 348.3 MB, free: 288 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.007561, allocations: 187.2 kB / 348.5 MB, free: 96 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.007586, allocations: 67.39 kB / 348.6 MB, free: 28 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.265e-05/0.007649, allocations: 43.36 kB / 348.6 MB, free: 15.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.00776, allocations: 0.5 MB / 349.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.007832, allocations: 65.36 kB / 349.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.718e-05/0.007909, allocations: 110.5 kB / 349.3 MB, free: 15.26 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.008051, allocations: 180.4 kB / 349.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.008052, allocations: 0 / 349.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001963/0.008248, allocations: 208.8 kB / 349.6 MB, free: 14.83 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.008274, allocations: 33.7 kB / 349.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.008278, allocations: 0 / 349.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.008293, allocations: 4 kB / 349.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.008453, allocations: 55.89 kB / 349.7 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.008459, allocations: 4 kB / 349.7 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.003e-05/0.008509, allocations: 20.03 kB / 349.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.008521, allocations: 7.984 kB / 349.8 MB, free: 14.7 MB / 282.7 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.0001176/0.008639, allocations: 202.2 kB / 350 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.00867, allocations: 27.89 kB / 350 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.008913, allocations: 218 kB / 350.2 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.008917, allocations: 7.984 kB / 350.2 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.00892, allocations: 0 / 350.2 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.008925, allocations: 3.938 kB / 350.2 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.009329, allocations: 0.5191 MB / 350.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.009331, allocations: 0 / 350.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.009468, allocations: 51.97 kB / 350.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.009471, allocations: 4 kB / 350.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.009481, allocations: 0 / 350.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.009484, allocations: 3.938 kB / 350.8 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.009487, allocations: 4 kB / 350.8 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.009788, allocations: 420.6 kB / 351.2 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.009831, allocations: 27.89 kB / 351.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.009851, allocations: 11.98 kB / 351.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.788e-05/0.009909, allocations: 11.97 kB / 351.3 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.009952, allocations: 15.97 kB / 351.3 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.00996, allocations: 4 kB / 351.3 MB, free: 13.06 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.728e-05/0.01003, allocations: 163.7 kB / 351.4 MB, free: 12.9 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01003, allocations: 0 / 351.4 MB, free: 12.9 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001884/0.01022, allocations: 52 kB / 351.5 MB, free: 12.85 MB / 282.7 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.0001154/0.01033, allocations: 119.1 kB / 351.6 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.01054, allocations: 218.3 kB / 351.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.01055, allocations: 16.12 kB / 351.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.114e-05/0.01064, allocations: 140.7 kB / 352 MB, free: 12.31 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.01087, allocations: 35.98 kB / 352 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009016/0.01177, allocations: 488.1 kB / 352.5 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.695e-05/0.01182, allocations: 75.98 kB / 352.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.06e-05/0.01189, allocations: 25.52 kB / 352.6 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.01194, allocations: 28.48 kB / 352.6 MB, free: 11.61 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01194, allocations: 0 / 352.6 MB, free: 11.61 MB / 282.7 MB Notification: Performance of Templates: time 0.00409/0.01603, allocations: 2.389 MB / 355 MB, free: 9.285 MB / 282.7 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=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8587419101968408]