Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 188.1 kB / 7.802 MB, free: 2.473 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4408/0.4408, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 221.4 MB / 342.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008651/0.0008651, allocations: 94.55 kB / 415.5 MB, free: 6.465 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.949e-06/9.979e-06, allocations: 4 kB / 493.9 MB, free: 8.113 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3002, allocations: 72.3 MB / 0.5529 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5232/0.8234, allocations: 386.1 MB / 0.93 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.8237, allocations: 90.61 kB / 0.9301 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.342/4.166, allocations: 1.069 GB / 1.999 GB, free: 84.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002049/4.166, allocations: 30.67 kB / 1.999 GB, free: 84.64 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003896/4.17, allocations: 1.497 MB / 2.001 GB, free: 83.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/4.17, allocations: 11 kB / 2.001 GB, free: 83.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/4.172, allocations: 378.9 kB / 2.001 GB, free: 83.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003232/4.176, allocations: 1.262 MB / 2.002 GB, free: 83.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003624/4.176, allocations: 113.4 kB / 2.002 GB, free: 83.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/4.176, allocations: 49.38 kB / 2.002 GB, free: 83.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001361/4.178, allocations: 0.6019 MB / 2.003 GB, free: 83.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/4.179, allocations: 0.7476 MB / 2.004 GB, free: 83.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/4.179, allocations: 3.938 kB / 2.004 GB, free: 83.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.256e-05/4.179, allocations: 3.609 kB / 2.004 GB, free: 83.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/4.179, allocations: 31.09 kB / 2.004 GB, free: 83.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00594/4.185, allocations: 4.684 MB / 2.008 GB, free: 80.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007353/4.186, allocations: 400.3 kB / 2.009 GB, free: 80.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/4.186, allocations: 179.7 kB / 2.009 GB, free: 80.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/4.187, allocations: 1.373 MB / 2.01 GB, free: 79.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/4.187, allocations: 37.94 kB / 2.01 GB, free: 79.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 2.425e-06/4.187, allocations: 0 / 2.01 GB, free: 79.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.003058/4.19, allocations: 0.8159 MB / 2.011 GB, free: 79.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/4.19, allocations: 55.25 kB / 2.011 GB, free: 79.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009549/4.191, allocations: 0.7487 MB / 2.012 GB, free: 78.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.474e-05/4.191, allocations: 28.7 kB / 2.012 GB, free: 78.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/4.191, allocations: 387.1 kB / 2.012 GB, free: 78.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/4.192, allocations: 143 kB / 2.012 GB, free: 78.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/4.192, allocations: 0 / 2.012 GB, free: 78.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.277e-05/4.192, allocations: 333.7 kB / 2.013 GB, free: 78.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/4.192, allocations: 159.8 kB / 2.013 GB, free: 78.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/4.192, allocations: 396 kB / 2.013 GB, free: 77.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009518/4.193, allocations: 315.4 kB / 2.013 GB, free: 77.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/4.193, allocations: 4.719 kB / 2.013 GB, free: 77.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003181/4.196, allocations: 0.9683 MB / 2.014 GB, free: 77.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002931/4.197, allocations: 1.57 MB / 2.016 GB, free: 76.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/4.197, allocations: 3.719 kB / 2.016 GB, free: 76.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006853/4.197, allocations: 239.4 kB / 2.016 GB, free: 76.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00044/4.198, allocations: 111.2 kB / 2.016 GB, free: 76.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009102/4.199, allocations: 0.8763 MB / 2.017 GB, free: 75.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/4.2, allocations: 164.7 kB / 2.017 GB, free: 75.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.69e-05/4.2, allocations: 40.31 kB / 2.017 GB, free: 75.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.146e-06/4.2, allocations: 3.406 kB / 2.017 GB, free: 75.65 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00293/4.203, allocations: 0.8385 MB / 2.018 GB, free: 75.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/4.203, allocations: 5.125 kB / 2.018 GB, free: 75.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006772/4.204, allocations: 232.7 kB / 2.018 GB, free: 75.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/4.204, allocations: 115.2 kB / 2.019 GB, free: 75.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/4.206, allocations: 0.8673 MB / 2.019 GB, free: 75.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/4.207, allocations: 139.3 kB / 2.019 GB, free: 75.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.505e-05/4.207, allocations: 31.89 kB / 2.02 GB, free: 75.07 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002233/4.207, allocations: 125.6 kB / 2.02 GB, free: 74.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/4.207, allocations: 99.59 kB / 2.02 GB, free: 74.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004041/4.211, allocations: 1.021 MB / 2.021 GB, free: 74.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/4.211, allocations: 5.219 kB / 2.021 GB, free: 74.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/4.211, allocations: 0 / 2.021 GB, free: 74.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/4.211, allocations: 3.703 kB / 2.021 GB, free: 74.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004678/4.216, allocations: 1.901 MB / 2.023 GB, free: 74.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/4.216, allocations: 1.594 kB / 2.023 GB, free: 74.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/4.216, allocations: 58.09 kB / 2.023 GB, free: 74.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006472/4.217, allocations: 239.2 kB / 2.023 GB, free: 74.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/4.217, allocations: 10.5 kB / 2.023 GB, free: 74.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009201/4.218, allocations: 0.9042 MB / 2.024 GB, free: 73.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/4.218, allocations: 6.531 kB / 2.024 GB, free: 73.93 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003116/4.221, allocations: 1.156 MB / 2.025 GB, free: 73.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005183/4.222, allocations: 264 kB / 2.025 GB, free: 73.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/4.222, allocations: 3.062 kB / 2.025 GB, free: 73.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008339/4.223, allocations: 103 kB / 2.025 GB, free: 73.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.546e-05/4.223, allocations: 26.78 kB / 2.025 GB, free: 73.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/4.223, allocations: 23.16 kB / 2.025 GB, free: 73.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0007779/4.224, allocations: 0.5722 MB / 2.026 GB, free: 73.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001986/4.226, allocations: 0.638 MB / 2.026 GB, free: 73.15 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001146/4.227, allocations: 0.6956 MB / 2.027 GB, free: 72.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001499/4.228, allocations: 0.7563 MB / 2.028 GB, free: 72.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/4.228, allocations: 0 / 2.028 GB, free: 72.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004234/4.229, allocations: 251.3 kB / 2.028 GB, free: 72.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/4.23, allocations: 375.1 kB / 2.029 GB, free: 72.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/4.234, allocations: 1.345 MB / 2.03 GB, free: 72.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006476/4.234, allocations: 1.157 MB / 2.031 GB, free: 71.8 MB / 0.6198 GB Notification: Performance of SimCode: time 7.11e-07/4.234, allocations: 0 / 2.031 GB, free: 71.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.04034/4.275, allocations: 25.37 MB / 2.056 GB, free: 67.57 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)