Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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.0009745/0.0009745, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001642/0.001642, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.005/1.005, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.046/2.046, allocations: 389.6 MB / 0.6354 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.157e-06/4.157e-06, allocations: 0 / 0.7752 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.341e-05/3.757e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004398/0.004435, allocations: 2.225 MB / 0.7774 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002802/0.007237, allocations: 1.868 MB / 0.7792 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.007416, allocations: 10.69 kB / 0.7792 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007225/0.008139, allocations: 202.7 kB / 0.7794 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.008284, allocations: 71.02 kB / 0.7795 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009301/0.009214, allocations: 404.5 kB / 0.7798 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005466/0.009761, allocations: 422.6 kB / 0.7802 GB, free: 244 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.009869, allocations: 23.06 kB / 0.7803 GB, free: 220 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.01014, allocations: 207.6 kB / 0.7805 GB, free: 12 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.01035, allocations: 136.9 kB / 0.7806 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.76e-05/0.0104, allocations: 28 kB / 0.7806 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004485/0.01085, allocations: 279.4 kB / 0.7809 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.01101, allocations: 113.1 kB / 0.781 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.01113, allocations: 111.7 kB / 0.7811 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006232/0.01175, allocations: 450.7 kB / 0.7815 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.01176, allocations: 0.5938 kB / 0.7815 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.774e-06/0.01176, allocations: 0 / 0.7815 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.01177, allocations: 5.344 kB / 0.7815 GB, free: 14.91 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000864/0.01263, allocations: 0.5827 MB / 0.7821 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.01267, allocations: 13.34 kB / 0.7821 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008585/0.01353, allocations: 169.6 kB / 0.7823 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.01386, allocations: 248 kB / 0.7825 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.22e-05/0.01395, allocations: 120 kB / 0.7826 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.01398, allocations: 16.36 kB / 0.7827 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.01433, allocations: 183.6 kB / 0.7828 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.01434, allocations: 192 / 0.7828 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.01436, allocations: 12.12 kB / 0.7828 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.01437, allocations: 0 / 0.7828 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.0145, allocations: 65.27 kB / 0.7829 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008089/0.01531, allocations: 421.5 kB / 0.7833 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.0167, allocations: 436.3 kB / 0.7837 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.0168, allocations: 45.5 kB / 0.7838 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.01682, allocations: 0 / 0.7838 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.01704, allocations: 155.3 kB / 0.7839 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.804e-06/0.01704, allocations: 0 / 0.7839 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003379/0.01738, allocations: 164.6 kB / 0.7841 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.01741, allocations: 51.41 kB / 0.7841 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.01763, allocations: 315.3 kB / 0.7844 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.01767, allocations: 31.2 kB / 0.7844 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.01773, allocations: 121.1 kB / 0.7846 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.01778, allocations: 55.5 kB / 0.7846 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.234e-05/0.01787, allocations: 49.66 kB / 0.7847 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.01797, allocations: 347.5 kB / 0.785 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.01811, allocations: 106.3 kB / 0.7851 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.01822, allocations: 97.64 kB / 0.7852 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.0184, allocations: 152.3 kB / 0.7853 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01841, allocations: 3.938 kB / 0.7853 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003094/0.01872, allocations: 271 kB / 0.7856 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.01876, allocations: 41.69 kB / 0.7856 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.01877, allocations: 4.766 kB / 0.7856 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.01878, allocations: 3.938 kB / 0.7856 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.01899, allocations: 57.83 kB / 0.7857 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.019, allocations: 0 / 0.7857 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.01913, allocations: 29.53 kB / 0.7857 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.01917, allocations: 7.984 kB / 0.7857 GB, free: 10.45 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (onOff.y,cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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.0001317/0.0193, allocations: 126.6 kB / 0.7859 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.01935, allocations: 35.84 kB / 0.7859 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.166e-05/0.0194, allocations: 32.41 kB / 0.7859 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.0194, allocations: 0 / 0.7859 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.01941, allocations: 4 kB / 0.7859 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.01941, allocations: 1.469 kB / 0.7859 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.01964, allocations: 205.6 kB / 0.7861 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01965, allocations: 0 / 0.7861 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.01983, allocations: 50.48 kB / 0.7862 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.01983, allocations: 7.984 kB / 0.7862 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.01985, allocations: 11.92 kB / 0.7862 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.01985, allocations: 0 / 0.7862 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01986, allocations: 0 / 0.7862 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.0201, allocations: 162.9 kB / 0.7863 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.02021, allocations: 59.66 kB / 0.7864 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.02025, allocations: 8.469 kB / 0.7864 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.0204, allocations: 29.22 kB / 0.7864 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.02045, allocations: 18.31 kB / 0.7865 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.02047, allocations: 7.984 kB / 0.7865 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001034/0.02058, allocations: 132.7 kB / 0.7866 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.02058, allocations: 0 / 0.7866 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002506/0.02083, allocations: 79.94 kB / 0.7867 GB, free: 9.453 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1],onOff.y) * Number of discrete states: 2 (cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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.0001957/0.02102, allocations: 109.2 kB / 0.7868 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003315/0.02135, allocations: 254.3 kB / 0.787 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.02136, allocations: 4 kB / 0.787 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.02147, allocations: 65.38 kB / 0.7871 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.02174, allocations: 90.42 kB / 0.7872 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.02278, allocations: 0.5532 MB / 0.7877 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.008e-05/0.02285, allocations: 112.3 kB / 0.7878 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002232/0.02307, allocations: 68.56 kB / 0.7879 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.02332, allocations: 134 kB / 0.788 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of SimCode: time 1.212e-06/0.02332, allocations: 0 / 0.788 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of Templates: time 0.01119/0.03451, allocations: 8.295 MB / 0.7961 GB, free: 15.93 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & (cd run_cvode && ../Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_gbode.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_ida.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.376325529068708]