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.002383/0.002383, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.002878/0.002878, allocations: 169.9 kB / 22.45 MB, free: 2.105 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.641/1.641, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 178] 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.0626/0.0626, allocations: 8.691 MB / 267.9 MB, free: 4.766 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.573e-06/1.573e-06, allocations: 0 / 395.4 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.272e-05/3.429e-05, allocations: 5.094 kB / 395.4 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.004721/0.004755, allocations: 2.725 MB / 398.2 MB, free: 14.01 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003638/0.008393, allocations: 1.943 MB / 400.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.008598, allocations: 7.938 kB / 400.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.008904, allocations: 67.42 kB / 400.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005232/0.009427, allocations: 162.7 kB / 400.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.01052, allocations: 402.4 kB / 400.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005547/0.01107, allocations: 389.9 kB / 401.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.01125, allocations: 61.41 kB / 401.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003489/0.0116, allocations: 199.6 kB / 401.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.01184, allocations: 127.6 kB / 401.5 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.784e-05/0.01189, allocations: 24 kB / 401.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005089/0.0124, allocations: 239.7 kB / 401.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.166e-05/0.01249, allocations: 67.75 kB / 401.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.01265, allocations: 111.7 kB / 401.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008288/0.01348, allocations: 0.4947 MB / 402.4 MB, free: 9.734 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.01348, allocations: 0 / 402.4 MB, free: 9.734 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01348, allocations: 0 / 402.4 MB, free: 9.734 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.01349, allocations: 0 / 402.4 MB, free: 9.734 MB / 330.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.0009862/0.01448, allocations: 0.5243 MB / 402.9 MB, free: 9.176 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001618/0.01464, allocations: 12.03 kB / 402.9 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.01486, allocations: 44.73 kB / 403 MB, free: 9.121 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.01524, allocations: 220.9 kB / 403.2 MB, free: 8.879 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.01527, allocations: 20.88 kB / 403.2 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.01532, allocations: 24.38 kB / 403.3 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005768/0.0159, allocations: 300.8 kB / 403.5 MB, free: 8.527 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.01591, allocations: 0 / 403.5 MB, free: 8.527 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.01594, allocations: 8 kB / 403.6 MB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.01595, allocations: 12 kB / 403.6 MB, free: 8.508 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004633/0.01641, allocations: 221.8 kB / 403.8 MB, free: 8.293 MB / 330.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.001849/0.01826, allocations: 0.7838 MB / 404.6 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.01859, allocations: 142.8 kB / 404.7 MB, free: 7.316 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.01875, allocations: 68.88 kB / 404.8 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.01889, allocations: 23.92 kB / 404.8 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.01893, allocations: 38.5 kB / 404.8 MB, free: 7.176 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.904e-06/0.01893, allocations: 0 / 404.8 MB, free: 7.176 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.002033/0.02096, allocations: 0.6633 MB / 405.5 MB, free: 6.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.02102, allocations: 59.34 kB / 405.6 MB, free: 6.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.02127, allocations: 207.2 kB / 405.8 MB, free: 6.199 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.0213, allocations: 25.7 kB / 405.8 MB, free: 6.168 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.02145, allocations: 172.6 kB / 406 MB, free: 5.992 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.668e-05/0.02153, allocations: 83.28 kB / 406 MB, free: 5.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.02163, allocations: 49.92 kB / 406.1 MB, free: 5.855 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.02181, allocations: 326.8 kB / 406.4 MB, free: 5.527 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.02202, allocations: 85.78 kB / 406.5 MB, free: 5.441 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.02228, allocations: 156.6 kB / 406.6 MB, free: 5.262 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004347/0.02271, allocations: 203.1 kB / 406.8 MB, free: 5.043 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.02271, allocations: 0 / 406.8 MB, free: 5.043 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005553/0.02327, allocations: 255.9 kB / 407.1 MB, free: 4.789 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.02329, allocations: 14.59 kB / 407.1 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.0233, allocations: 0 / 407.1 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.02332, allocations: 4 kB / 407.1 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.02363, allocations: 76.05 kB / 407.2 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.02364, allocations: 4 kB / 407.2 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.02378, allocations: 15.92 kB / 407.2 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.0238, allocations: 12 kB / 407.2 MB, free: 4.668 MB / 330.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: 7 * 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 (28): * Single equations (assignments): 28 * 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.0002288/0.02403, allocations: 157.8 kB / 407.4 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.02409, allocations: 19.86 kB / 407.4 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005777/0.02466, allocations: 231.4 kB / 407.6 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.02467, allocations: 7.938 kB / 407.6 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.02468, allocations: 0 / 407.6 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.02468, allocations: 3.984 kB / 407.6 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.0257, allocations: 0.5264 MB / 408.1 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.02571, allocations: 7.938 kB / 408.2 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.02598, allocations: 56 kB / 408.2 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.02599, allocations: 12.02 kB / 408.2 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.02602, allocations: 7.938 kB / 408.2 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.02602, allocations: 4 kB / 408.2 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.02602, allocations: 0 / 408.2 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000727/0.02675, allocations: 391.7 kB / 408.6 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.241e-05/0.02684, allocations: 35.91 kB / 408.7 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.02688, allocations: 11.89 kB / 408.7 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.02703, allocations: 11.98 kB / 408.7 MB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.0271, allocations: 24.03 kB / 408.7 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.02712, allocations: 7.938 kB / 408.7 MB, free: 3.102 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001766/0.02729, allocations: 156.9 kB / 408.9 MB, free: 2.945 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02729, allocations: 0 / 408.9 MB, free: 2.945 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005037/0.0278, allocations: 115.7 kB / 409 MB, free: 2.832 MB / 330.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 (22): * Single equations (assignments): 22 * 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.0004038/0.0282, allocations: 194.8 kB / 409.2 MB, free: 2.629 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005147/0.02871, allocations: 171.8 kB / 409.3 MB, free: 2.461 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.02872, allocations: 0 / 409.3 MB, free: 2.461 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.02891, allocations: 87.83 kB / 409.4 MB, free: 2.375 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.02931, allocations: 44.66 kB / 409.5 MB, free: 2.332 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.03062, allocations: 0.5355 MB / 410 MB, free: 1.766 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.03079, allocations: 150.9 kB / 410.1 MB, free: 1.602 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.03094, allocations: 33.88 kB / 410.2 MB, free: 1.566 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.751e-05/0.03102, allocations: 32.48 kB / 410.2 MB, free: 1.531 MB / 330.7 MB Notification: Performance of SimCode: time 4.2e-07/0.03102, allocations: 0 / 410.2 MB, free: 1.531 MB / 330.7 MB Notification: Performance of Templates: time 0.1553/0.1863, allocations: 4.175 MB / 414.4 MB, free: 28.4 MB / 330.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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.102897853823379]