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.001854/0.001854, 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.001973/0.001973, 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.593/1.593, allocations: 177.1 MB / 202.8 MB, free: 5.766 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.06234/0.06234, allocations: 8.695 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.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.493e-06/1.493e-06, allocations: 0 / 395.4 MB, free: 0.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.802e-05, allocations: 5.234 kB / 395.4 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.004254/0.004282, allocations: 2.495 MB / 397.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.005805, allocations: 0.771 MB / 398.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.005912, allocations: 4 kB / 398.7 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.006033, allocations: 23.72 kB / 398.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.006438, allocations: 131 kB / 398.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.006618, allocations: 47.94 kB / 398.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003709/0.006989, allocations: 270.5 kB / 399.2 MB, free: 12.99 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.007143, allocations: 44.55 kB / 399.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.007406, allocations: 139.6 kB / 399.4 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.007581, allocations: 79.73 kB / 399.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.007618, allocations: 16 kB / 399.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.007733, allocations: 35.98 kB / 399.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/0.007777, allocations: 31.84 kB / 399.5 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.007892, allocations: 79.77 kB / 399.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.008242, allocations: 211.3 kB / 399.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.008244, allocations: 0 / 399.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.008245, allocations: 0 / 399.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.008249, allocations: 0 / 399.8 MB, free: 12.36 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007654/0.009015, allocations: 450.8 kB / 400.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.009066, allocations: 12.03 kB / 400.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003073/0.009373, allocations: 36.78 kB / 400.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.00979, allocations: 169.5 kB / 400.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.009812, allocations: 12.38 kB / 400.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.009854, allocations: 20.38 kB / 400.5 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004131/0.01027, allocations: 214.2 kB / 400.7 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.01028, allocations: 3.938 kB / 400.7 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.01031, allocations: 8 kB / 400.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.01031, allocations: 4 kB / 400.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.01062, allocations: 142.6 kB / 400.8 MB, free: 11.22 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.001113/0.01173, allocations: 0.5945 MB / 401.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.01208, allocations: 172.3 kB / 401.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.01224, allocations: 86.53 kB / 401.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.01226, allocations: 3.984 kB / 401.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.0123, allocations: 38.56 kB / 401.7 MB, free: 10.26 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.01231, allocations: 3.938 kB / 401.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.002077/0.01438, allocations: 0.7189 MB / 402.5 MB, free: 9.473 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.01445, allocations: 81.11 kB / 402.5 MB, free: 9.375 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.01462, allocations: 158.9 kB / 402.7 MB, free: 9.211 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.01466, allocations: 33.7 kB / 402.7 MB, free: 9.172 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.01477, allocations: 140.4 kB / 402.9 MB, free: 9.031 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.516e-05/0.01484, allocations: 67.39 kB / 402.9 MB, free: 8.965 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.008e-05/0.01492, allocations: 37.7 kB / 403 MB, free: 8.922 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.0151, allocations: 334.8 kB / 403.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.01528, allocations: 86.53 kB / 403.4 MB, free: 8.492 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.01549, allocations: 128.7 kB / 403.5 MB, free: 8.348 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.01588, allocations: 215.6 kB / 403.7 MB, free: 8.109 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.01588, allocations: 0 / 403.7 MB, free: 8.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004796/0.01636, allocations: 259.3 kB / 404 MB, free: 7.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4e-05/0.0164, allocations: 33.64 kB / 404 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01641, allocations: 0 / 404 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.01642, allocations: 4 kB / 404 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.01672, allocations: 64.05 kB / 404.1 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.01672, allocations: 0 / 404.1 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.01684, allocations: 11.94 kB / 404.1 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.01686, allocations: 8 kB / 404.1 MB, free: 7.715 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: 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.0001913/0.01706, allocations: 163.5 kB / 404.2 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.0171, allocations: 11.91 kB / 404.3 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005627/0.01766, allocations: 289.7 kB / 404.5 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.01767, allocations: 8 kB / 404.5 MB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.01767, allocations: 4 kB / 404.6 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.01768, allocations: 3.938 kB / 404.6 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008489/0.01853, allocations: 0.5156 MB / 405.1 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01853, allocations: 0 / 405.1 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.01881, allocations: 59.91 kB / 405.1 MB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01882, allocations: 0 / 405.1 MB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.01883, allocations: 4 kB / 405.1 MB, free: 6.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.01884, allocations: 11.92 kB / 405.1 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01884, allocations: 0 / 405.1 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007324/0.01957, allocations: 463.1 kB / 405.6 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.378e-05/0.01966, allocations: 27.91 kB / 405.6 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.01969, allocations: 4 kB / 405.6 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.01982, allocations: 11.94 kB / 405.6 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/0.01989, allocations: 15.91 kB / 405.7 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.0199, allocations: 12 kB / 405.7 MB, free: 6.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.02003, allocations: 127.8 kB / 405.8 MB, free: 5.895 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02003, allocations: 7.938 kB / 405.8 MB, free: 5.887 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003036/0.02033, allocations: 51.94 kB / 405.9 MB, free: 5.836 MB / 330.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.0001725/0.0205, allocations: 111.2 kB / 406 MB, free: 5.719 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004868/0.02099, allocations: 262.5 kB / 406.2 MB, free: 5.438 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.02099, allocations: 0 / 406.2 MB, free: 5.438 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.02122, allocations: 157 kB / 406.4 MB, free: 5.266 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.02155, allocations: 32.11 kB / 406.4 MB, free: 5.234 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009255/0.02247, allocations: 455.9 kB / 406.8 MB, free: 4.758 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.02262, allocations: 121.5 kB / 407 MB, free: 4.617 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.02273, allocations: 25.72 kB / 407 MB, free: 4.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.403e-05/0.0228, allocations: 24.48 kB / 407 MB, free: 4.566 MB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.0228, allocations: 0 / 407 MB, free: 4.566 MB / 330.7 MB Notification: Performance of Templates: time 0.00699/0.02979, allocations: 2.369 MB / 409.4 MB, free: 2.262 MB / 330.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: 4.902654673205689]