Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.0009377/0.0009377, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.00143/0.00143, allocations: 177 kB / 23.36 MB, free: 1.133 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 1.011/1.011, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.03653/0.03653, allocations: 8.726 MB / 269 MB, free: 4.422 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.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 288.1 MB, free: 1.312 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.753e-05, allocations: 6.312 kB / 288.1 MB, free: 1.305 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.1059/0.1059, allocations: 2.944 MB / 291 MB, free: 18.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.1081, allocations: 2.091 MB / 293.1 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.1083, allocations: 3.438 kB / 293.1 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.1085, allocations: 63.17 kB / 293.2 MB, free: 17.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003512/0.1089, allocations: 156.7 kB / 293.3 MB, free: 17.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008022/0.1097, allocations: 374.2 kB / 293.7 MB, free: 17.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003696/0.11, allocations: 392.7 kB / 294.1 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.1102, allocations: 69.75 kB / 294.2 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000291/0.1105, allocations: 204.5 kB / 294.4 MB, free: 16.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.1107, allocations: 121 kB / 294.5 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.1107, allocations: 24.53 kB / 294.5 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.1112, allocations: 272.8 kB / 294.8 MB, free: 16.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.396e-05/0.1112, allocations: 65.42 kB / 294.8 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.464e-05/0.1113, allocations: 109 kB / 294.9 MB, free: 16.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005892/0.1119, allocations: 420.8 kB / 295.3 MB, free: 16.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1119, allocations: 0.6094 kB / 295.3 MB, free: 16.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1119, allocations: 0 / 295.3 MB, free: 16.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1119, allocations: 1.719 kB / 295.3 MB, free: 16.59 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0005855/0.1125, allocations: 0.505 MB / 295.9 MB, free: 16.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.1126, allocations: 13.03 kB / 295.9 MB, free: 16.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.1127, allocations: 49 kB / 295.9 MB, free: 16.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1129, allocations: 192.2 kB / 296.1 MB, free: 16.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.1129, allocations: 20.41 kB / 296.1 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.113, allocations: 24.69 kB / 296.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.1133, allocations: 242.5 kB / 296.4 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1133, allocations: 3.938 kB / 296.4 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1133, allocations: 10.84 kB / 296.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1133, allocations: 5.281 kB / 296.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.1134, allocations: 87.83 kB / 296.5 MB, free: 15.83 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.0009654/0.1144, allocations: 0.6254 MB / 297.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1146, allocations: 84.08 kB / 297.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.565e-05/0.1146, allocations: 41.83 kB / 297.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-05/0.1147, allocations: 15.27 kB / 297.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.1147, allocations: 37.25 kB / 297.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.1147, allocations: 4 kB / 297.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003861/0.1151, allocations: 185.9 kB / 297.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.978e-05/0.1151, allocations: 63.39 kB / 297.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.1152, allocations: 192.2 kB / 297.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.1152, allocations: 31.14 kB / 297.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.1153, allocations: 160 kB / 297.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.1153, allocations: 67.94 kB / 298 MB, free: 14.85 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.1154, allocations: 47.09 kB / 298 MB, free: 14.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.1154, allocations: 329.9 kB / 298.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.465e-05/0.1155, allocations: 38.5 kB / 298.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-05/0.1155, allocations: 94.38 kB / 298.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.1156, allocations: 102.3 kB / 298.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1156, allocations: 1.062 kB / 298.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001782/0.1158, allocations: 131 kB / 298.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1158, allocations: 7.203 kB / 298.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1158, allocations: 1.312 kB / 298.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.1159, allocations: 7.312 kB / 298.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.1161, allocations: 69.16 kB / 298.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.1161, allocations: 12 kB / 298.8 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.815e-05/0.1162, allocations: 17.33 kB / 298.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.1162, allocations: 6.359 kB / 298.8 MB, free: 14.27 MB / 266.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: 6 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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.0001211/0.1163, allocations: 129.2 kB / 298.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.1164, allocations: 20.7 kB / 299 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.1166, allocations: 137.1 kB / 299.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1166, allocations: 8.094 kB / 299.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1166, allocations: 0 / 299.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1166, allocations: 0.7812 kB / 299.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/0.1171, allocations: 341.4 kB / 299.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1171, allocations: 0 / 299.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.1172, allocations: 65.61 kB / 299.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.1172, allocations: 1.094 kB / 299.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.1173, allocations: 12.02 kB / 299.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1173, allocations: 1.688 kB / 299.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1173, allocations: 9.312 kB / 299.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.1175, allocations: 231.2 kB / 299.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/0.1175, allocations: 23.19 kB / 299.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.1175, allocations: 7.172 kB / 299.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.323e-05/0.1176, allocations: 8.125 kB / 299.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.1176, allocations: 13.02 kB / 299.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.1177, allocations: 2.844 kB / 299.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.358e-05/0.1177, allocations: 67.3 kB / 299.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1177, allocations: 4 kB / 299.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003879/0.1181, allocations: 128 kB / 300 MB, free: 13.58 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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.0002577/0.1184, allocations: 172.7 kB / 300.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.1185, allocations: 94.86 kB / 300.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.1185, allocations: 3.031 kB / 300.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.762e-05/0.1186, allocations: 54.78 kB / 300.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.1188, allocations: 57.14 kB / 300.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009645/0.1198, allocations: 0.5286 MB / 300.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.895e-05/0.1198, allocations: 84.52 kB / 301 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.982e-05/0.1199, allocations: 36.44 kB / 301 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.1201, allocations: 104.6 kB / 301.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1201, allocations: 0 / 301.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of Templates: time 0.006763/0.1268, allocations: 4.734 MB / 305.9 MB, free: 10.88 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.684300735127181]