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.0007063/0.0007063, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009351/0.001641, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006725/0.0006725, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009216/0.001594, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9437/0.9437, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08857/1.032, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo): time 0.03353/0.03353, allocations: 8.73 MB / 252.9 MB, free: 6.285 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005973/0.0395, allocations: 3.002 MB / 255.9 MB, free: 3.277 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-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 / 257.2 MB, free: 1.961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.631e-05, allocations: 2.312 kB / 257.2 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.004156/0.004183, allocations: 2.714 MB / 259.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.00579, allocations: 0.8254 MB / 260.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.005948, allocations: 7.938 kB / 260.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.006065, allocations: 27.72 kB / 260.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003749/0.00644, allocations: 115.1 kB / 260.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.006664, allocations: 63.84 kB / 260.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003745/0.007039, allocations: 258.5 kB / 261.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.00719, allocations: 54.52 kB / 261.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003645/0.007554, allocations: 155.5 kB / 261.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.007765, allocations: 83.72 kB / 261.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.007806, allocations: 16 kB / 261.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.007944, allocations: 35.98 kB / 261.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.007988, allocations: 27.88 kB / 261.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.454e-05/0.008072, allocations: 59.88 kB / 261.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.008377, allocations: 147.5 kB / 261.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.61e-05/0.008393, allocations: 0 / 261.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.008395, allocations: 0 / 261.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.008412, allocations: 0 / 261.8 MB, free: 13.36 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.0006826/0.009095, allocations: 473.2 kB / 262.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.009132, allocations: 8.031 kB / 262.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.009378, allocations: 118 kB / 262.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.009609, allocations: 158.3 kB / 262.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.009626, allocations: 12.38 kB / 262.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.009659, allocations: 12.38 kB / 262.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.009917, allocations: 182.9 kB / 262.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.009932, allocations: 3.938 kB / 262.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.009949, allocations: 16 kB / 262.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.009958, allocations: 4 kB / 262.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.01007, allocations: 70.59 kB / 262.8 MB, free: 12.23 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.0007423/0.01081, allocations: 496.6 kB / 263.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.01101, allocations: 124.1 kB / 263.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.276e-05/0.01107, allocations: 70.38 kB / 263.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.01109, allocations: 0 / 263.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.01111, allocations: 38.56 kB / 263.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.01111, allocations: 0 / 263.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008679/0.01198, allocations: 363.3 kB / 263.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.01201, allocations: 55.41 kB / 263.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.01214, allocations: 157.2 kB / 264.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.01216, allocations: 29.7 kB / 264.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/0.01223, allocations: 128.3 kB / 264.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.01228, allocations: 59.45 kB / 264.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/0.01235, allocations: 41.64 kB / 264.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.01247, allocations: 326.8 kB / 264.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.234e-05/0.01255, allocations: 58.53 kB / 264.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-05/0.01262, allocations: 73.09 kB / 264.8 MB, free: 10.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.01277, allocations: 138.7 kB / 264.9 MB, free: 9.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.01277, allocations: 0 / 264.9 MB, free: 9.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002031/0.01297, allocations: 167.4 kB / 265.1 MB, free: 9.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/0.01302, allocations: 29.7 kB / 265.1 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.01302, allocations: 4 kB / 265.1 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.01304, allocations: 0 / 265.1 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.01334, allocations: 67.94 kB / 265.2 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.01334, allocations: 4.031 kB / 265.2 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.971e-05/0.01342, allocations: 11.95 kB / 265.2 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.01344, allocations: 11.98 kB / 265.2 MB, free: 9.617 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: 4 * 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 (20): * Single equations (assignments): 19 * 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.0001423/0.01358, allocations: 147.4 kB / 265.3 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.01362, allocations: 15.98 kB / 265.4 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.01388, allocations: 188.8 kB / 265.5 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01388, allocations: 0 / 265.5 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.01388, allocations: 0 / 265.5 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.01389, allocations: 4 kB / 265.5 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.01408, allocations: 129.7 kB / 265.7 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01409, allocations: 4 kB / 265.7 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.01433, allocations: 63.88 kB / 265.7 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.01438, allocations: 19.84 kB / 265.8 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.01439, allocations: 4 kB / 265.8 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.0144, allocations: 4 kB / 265.8 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.0144, allocations: 0 / 265.8 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.01441, allocations: 7.984 kB / 265.8 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.0147, allocations: 312.4 kB / 266.1 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.01473, allocations: 15.95 kB / 266.1 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.361e-05/0.01481, allocations: 4 kB / 266.1 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.01485, allocations: 7.984 kB / 266.1 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.01486, allocations: 8 kB / 266.1 MB, free: 8.609 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.679e-05/0.01491, allocations: 40.81 kB / 266.2 MB, free: 8.566 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01491, allocations: 0 / 266.2 MB, free: 8.566 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002685/0.01517, allocations: 55.89 kB / 266.2 MB, free: 8.512 MB / 266.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 (20): * Single equations (assignments): 19 * 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.0001548/0.01533, allocations: 96.33 kB / 266.3 MB, free: 8.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.01554, allocations: 187.7 kB / 266.5 MB, free: 8.199 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/0.01555, allocations: 4 kB / 266.5 MB, free: 8.195 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.01568, allocations: 148.9 kB / 266.6 MB, free: 8.031 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.01607, allocations: 372.6 kB / 267 MB, free: 7.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005934/0.022, allocations: 458.5 kB / 267.4 MB, free: 7.105 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.006e-05/0.02206, allocations: 75.98 kB / 267.5 MB, free: 7.012 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.02218, allocations: 21.58 kB / 267.5 MB, free: 6.992 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.02233, allocations: 95.34 kB / 267.6 MB, free: 6.898 MB / 266.7 MB Notification: Performance of SimCode: time 1.723e-06/0.02233, allocations: 0 / 267.6 MB, free: 6.898 MB / 266.7 MB Notification: Performance of Templates: time 0.006005/0.02833, allocations: 2.778 MB / 270.4 MB, free: 4.188 MB / 266.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.493391862139106]