Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008912/0.0008914, allocations: 174.8 kB / 16.08 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4401/0.4401, allocations: 89.07 MB / 105.9 MB, free: 12.44 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 225.7 MB / 353.3 MB, free: 1.086 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000841/0.0008409, allocations: 89.34 kB / 425.4 MB, free: 6.645 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002926, allocations: 8 kB / 0.4955 GB, free: 4.539 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2987, allocations: 71.33 MB / 0.5652 GB, free: 42.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.0103/0.3091, allocations: 14.05 MB / 0.5789 GB, free: 28.08 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004146/0.3132, allocations: 5.324 MB / 0.5841 GB, free: 22.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004257/0.3137, allocations: 15.88 kB / 0.5841 GB, free: 22.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005066/0.3142, allocations: 167 kB / 0.5843 GB, free: 22.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.3153, allocations: 0.5405 MB / 0.5848 GB, free: 21.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006997/0.316, allocations: 347.3 kB / 0.5851 GB, free: 21.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.317, allocations: 1.438 MB / 0.5865 GB, free: 19.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003275/0.3174, allocations: 259.6 kB / 0.5868 GB, free: 19.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/0.3177, allocations: 322.6 kB / 0.5871 GB, free: 19.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.318, allocations: 298.6 kB / 0.5874 GB, free: 18.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.318, allocations: 12 kB / 0.5874 GB, free: 18.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000446/0.3185, allocations: 227.4 kB / 0.5876 GB, free: 18.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.658e-05/0.3186, allocations: 67.67 kB / 0.5877 GB, free: 18.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.3187, allocations: 212.7 kB / 0.5879 GB, free: 18.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004929/0.3192, allocations: 0.5666 MB / 0.5884 GB, free: 17.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3192, allocations: 0 / 0.5884 GB, free: 17.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3192, allocations: 4 kB / 0.5884 GB, free: 17.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.3193, allocations: 0 / 0.5884 GB, free: 17.84 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0008048/0.3201, allocations: 0.6657 MB / 0.5891 GB, free: 17.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.3201, allocations: 8.031 kB / 0.5891 GB, free: 17.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.3203, allocations: 60.36 kB / 0.5892 GB, free: 17.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005509/0.3208, allocations: 467.2 kB / 0.5896 GB, free: 16.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.3208, allocations: 24.69 kB / 0.5896 GB, free: 16.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.3209, allocations: 35.84 kB / 0.5897 GB, free: 16.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004558/0.3214, allocations: 310.2 kB / 0.59 GB, free: 16.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3214, allocations: 0 / 0.59 GB, free: 16.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.3214, allocations: 15.98 kB / 0.59 GB, free: 16.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.3214, allocations: 11.94 kB / 0.59 GB, free: 16.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/0.3218, allocations: 198.1 kB / 0.5902 GB, free: 15.96 MB / 410.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.001314/0.3232, allocations: 1.489 MB / 0.5916 GB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.3235, allocations: 166.6 kB / 0.5918 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.3237, allocations: 77.06 kB / 0.5919 GB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.3238, allocations: 85.11 kB / 0.5919 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.3241, allocations: 139.2 kB / 0.5921 GB, free: 13.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.3241, allocations: 0 / 0.5921 GB, free: 13.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005136/0.3246, allocations: 245.1 kB / 0.5923 GB, free: 13.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.3247, allocations: 59.39 kB / 0.5924 GB, free: 13.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.3249, allocations: 329.6 kB / 0.5927 GB, free: 13.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3249, allocations: 33.7 kB / 0.5927 GB, free: 13.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.376e-05/0.325, allocations: 223.7 kB / 0.5929 GB, free: 12.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.3251, allocations: 51.27 kB / 0.593 GB, free: 12.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/0.3251, allocations: 4 kB / 0.593 GB, free: 12.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.493e-05/0.3252, allocations: 338.8 kB / 0.5933 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.3253, allocations: 79.94 kB / 0.5934 GB, free: 12.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.3255, allocations: 150.6 kB / 0.5935 GB, free: 12.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.3258, allocations: 256.8 kB / 0.5938 GB, free: 12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3259, allocations: 0 / 0.5938 GB, free: 12 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004624/0.3263, allocations: 322.7 kB / 0.5941 GB, free: 11.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.3264, allocations: 30.02 kB / 0.5941 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3264, allocations: 8 kB / 0.5941 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3264, allocations: 7.938 kB / 0.5941 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.3266, allocations: 55.91 kB / 0.5942 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3266, allocations: 7.938 kB / 0.5942 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.3269, allocations: 43.75 kB / 0.5942 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.3269, allocations: 16 kB / 0.5942 GB, free: 11.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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.0001165/0.327, allocations: 153.8 kB / 0.5944 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.3271, allocations: 31.62 kB / 0.5944 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003804/0.3275, allocations: 212.3 kB / 0.5946 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.3275, allocations: 3.938 kB / 0.5946 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3275, allocations: 4 kB / 0.5946 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003314/0.3278, allocations: 496.4 kB / 0.5951 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.3281, allocations: 349.4 kB / 0.5954 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3281, allocations: 0 / 0.5954 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.3283, allocations: 39.86 kB / 0.5955 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3283, allocations: 4 kB / 0.5955 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.3283, allocations: 7.984 kB / 0.5955 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3283, allocations: 3.938 kB / 0.5955 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3283, allocations: 0 / 0.5955 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/0.3288, allocations: 300.6 kB / 0.5958 GB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.485e-05/0.3289, allocations: 128.7 kB / 0.5959 GB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.329, allocations: 0 / 0.5959 GB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.3292, allocations: 35.77 kB / 0.5959 GB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.3293, allocations: 23.91 kB / 0.5959 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.3293, allocations: 8.094 kB / 0.596 GB, free: 9.543 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000164/0.3295, allocations: 231.2 kB / 0.5962 GB, free: 9.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3295, allocations: 0 / 0.5962 GB, free: 9.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003482/0.3298, allocations: 115.8 kB / 0.5963 GB, free: 9.207 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002561/0.3301, allocations: 188.8 kB / 0.5965 GB, free: 9.016 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004236/0.3305, allocations: 239.1 kB / 0.5967 GB, free: 8.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3305, allocations: 0 / 0.5967 GB, free: 8.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.3307, allocations: 75.89 kB / 0.5968 GB, free: 8.695 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008208/0.3315, allocations: 198.7 kB / 0.597 GB, free: 8.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.3326, allocations: 0.923 MB / 0.5979 GB, free: 7.551 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.3328, allocations: 0.7882 MB / 0.5986 GB, free: 6.738 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000234/0.333, allocations: 63.25 kB / 0.5987 GB, free: 6.672 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.3331, allocations: 35.42 kB / 0.5987 GB, free: 6.641 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3331, allocations: 4 kB / 0.5987 GB, free: 6.637 MB / 410.7 MB Notification: Performance of Templates: time 0.008963/0.3421, allocations: 6.532 MB / 0.6051 GB, free: 208 kB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)