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.001444/0.001444, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009955/0.0009955, allocations: 223.3 kB / 22.25 MB, free: 3.566 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.8924/0.8924, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.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.0356/0.0356, allocations: 11.32 MB / 323.8 MB, free: 6.789 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: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenHydraulics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 63.91 kB / 450.7 MB, free: 35.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07304/0.07443, allocations: 55.95 MB / 0.4948 GB, free: 11.57 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.002718/0.07714, allocations: 2.493 MB / 0.4972 GB, free: 9.062 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009121/0.07806, allocations: 0.7674 MB / 0.498 GB, free: 8.293 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.942e-05/0.07814, allocations: 0 / 0.498 GB, free: 8.293 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.07825, allocations: 31.66 kB / 0.498 GB, free: 8.262 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.07855, allocations: 119.2 kB / 0.4981 GB, free: 8.145 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.07868, allocations: 55.91 kB / 0.4982 GB, free: 8.09 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.07891, allocations: 258.6 kB / 0.4984 GB, free: 7.836 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.07903, allocations: 44.84 kB / 0.4985 GB, free: 7.789 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.07917, allocations: 99.64 kB / 0.4986 GB, free: 7.691 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.07929, allocations: 87.61 kB / 0.4987 GB, free: 7.605 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.07931, allocations: 16 kB / 0.4987 GB, free: 7.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.858e-05/0.07938, allocations: 28 kB / 0.4987 GB, free: 7.562 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.82e-05/0.07941, allocations: 43.77 kB / 0.4987 GB, free: 7.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.881e-05/0.07947, allocations: 87.66 kB / 0.4988 GB, free: 7.434 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.07968, allocations: 215.1 kB / 0.499 GB, free: 7.223 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.07968, allocations: 0 / 0.499 GB, free: 7.223 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.07969, allocations: 4 kB / 0.499 GB, free: 7.219 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.07969, allocations: 0 / 0.499 GB, free: 7.219 MB / 362.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.00049/0.08018, allocations: 442.8 kB / 0.4995 GB, free: 6.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.08022, allocations: 15.98 kB / 0.4995 GB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.64e-05/0.08026, allocations: 46.73 kB / 0.4995 GB, free: 6.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.08038, allocations: 32.78 kB / 0.4996 GB, free: 6.648 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.08059, allocations: 182.1 kB / 0.4997 GB, free: 6.445 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.0806, allocations: 12.38 kB / 0.4997 GB, free: 6.434 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.08063, allocations: 27.86 kB / 0.4998 GB, free: 6.406 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.08087, allocations: 205.7 kB / 0.5 GB, free: 6.184 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.08088, allocations: 0 / 0.5 GB, free: 6.184 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.08089, allocations: 12 kB / 0.5 GB, free: 6.172 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.0809, allocations: 4 kB / 0.5 GB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.08107, allocations: 150.5 kB / 0.5001 GB, free: 6.016 MB / 362.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.0006837/0.08175, allocations: 0.6329 MB / 0.5007 GB, free: 5.332 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.08196, allocations: 174.2 kB / 0.5009 GB, free: 5.148 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.42e-05/0.08205, allocations: 86.53 kB / 0.501 GB, free: 5.055 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.08206, allocations: 4 kB / 0.501 GB, free: 5.051 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.08208, allocations: 30.56 kB / 0.501 GB, free: 5.012 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.08208, allocations: 0 / 0.501 GB, free: 5.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.001085/0.08317, allocations: 0.7356 MB / 0.5017 GB, free: 4.215 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.0832, allocations: 81.11 kB / 0.5018 GB, free: 4.117 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.08332, allocations: 187.5 kB / 0.502 GB, free: 3.922 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.08334, allocations: 33.64 kB / 0.502 GB, free: 3.883 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.0834, allocations: 124.5 kB / 0.5021 GB, free: 3.758 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.08344, allocations: 71.38 kB / 0.5022 GB, free: 3.688 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.08348, allocations: 45.64 kB / 0.5023 GB, free: 3.637 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.063e-05/0.08356, allocations: 326.8 kB / 0.5026 GB, free: 3.309 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.727e-05/0.08366, allocations: 94.52 kB / 0.5027 GB, free: 3.207 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.923e-05/0.08376, allocations: 121.2 kB / 0.5028 GB, free: 3.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.08395, allocations: 211.6 kB / 0.503 GB, free: 2.836 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.08395, allocations: 4 kB / 0.503 GB, free: 2.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002493/0.0842, allocations: 267 kB / 0.5032 GB, free: 2.555 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.08423, allocations: 37.62 kB / 0.5033 GB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.08423, allocations: 0 / 0.5033 GB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.08425, allocations: 4 kB / 0.5033 GB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.08441, allocations: 59.91 kB / 0.5033 GB, free: 2.449 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.08442, allocations: 12.06 kB / 0.5033 GB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.465e-05/0.08447, allocations: 8 kB / 0.5033 GB, free: 2.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.08449, allocations: 12 kB / 0.5034 GB, free: 2.418 MB / 362.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.0001344/0.08462, allocations: 159.5 kB / 0.5035 GB, free: 2.246 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.08464, allocations: 19.84 kB / 0.5035 GB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.08495, allocations: 286.4 kB / 0.5038 GB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.08495, allocations: 4 kB / 0.5038 GB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.08495, allocations: 4 kB / 0.5038 GB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.08496, allocations: 0 / 0.5038 GB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.08545, allocations: 0.5592 MB / 0.5044 GB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.08545, allocations: 0 / 0.5044 GB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.08559, allocations: 51.97 kB / 0.5044 GB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.08559, allocations: 0 / 0.5044 GB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.0856, allocations: 8 kB / 0.5044 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.0856, allocations: 0 / 0.5044 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.0856, allocations: 4 kB / 0.5044 GB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.08598, allocations: 471.3 kB / 0.5049 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.08603, allocations: 31.91 kB / 0.5049 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.08605, allocations: 8 kB / 0.5049 GB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.313e-05/0.08612, allocations: 4 kB / 0.5049 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.08616, allocations: 15.97 kB / 0.5049 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.08617, allocations: 7.984 kB / 0.5049 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.023e-05/0.08625, allocations: 139.1 kB / 0.5051 GB, free: 0.543 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08625, allocations: 4.062 kB / 0.5051 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001954/0.08644, allocations: 51.94 kB / 0.5051 GB, free: 500 kB / 362.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.000584/0.08703, allocations: 1.004 MB / 0.5061 GB, free: 15.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002623/0.08729, allocations: 258.5 kB / 0.5063 GB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.08729, allocations: 0 / 0.5063 GB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.08741, allocations: 165.2 kB / 0.5065 GB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.08764, allocations: 47.91 kB / 0.5065 GB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.08947, allocations: 2.448 MB / 0.5089 GB, free: 12.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.166e-05/0.08954, allocations: 117.6 kB / 0.5091 GB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.585e-05/0.08961, allocations: 33.86 kB / 0.5091 GB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.922e-05/0.08969, allocations: 67.41 kB / 0.5091 GB, free: 12.12 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.08969, allocations: 0 / 0.5091 GB, free: 12.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0776/0.1673, allocations: 5.643 MB / 0.5147 GB, free: 6.641 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.842/7.009, allocations: 1.375 kB / 0.5147 GB, free: 6.641 MB / 378.7 MB " [Timeout remaining time 653] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1) [Timeout 52.5] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_fmpy.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_fmpy.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.128303008154035]