Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.BoilerCHP.Examples.CHPSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo) Running command: "" <> buildModelFMU(AixLib.Fluid.BoilerCHP.Examples.CHPSystem,fileNamePrefix="AixLib_latest_AixLib_Fluid_BoilerCHP_Examples_CHPSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.BoilerCHP.Examples.CHPSystem,fileNamePrefix="AixLib_latest_AixLib_Fluid_BoilerCHP_Examples_CHPSystem",fmuType="me",version="2.0",platforms={"static"}) [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo): time 1.683/1.683, allocations: 267.3 MB / 282.2 MB, free: 5.301 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 186.9 kB / 339.9 MB, free: 2.59 MB / 266.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.1 MB / 0.6061 GB, free: 1.832 MB / 474.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009844/0.0009844, allocations: 87.64 kB / 0.7116 GB, free: 6.395 MB / 490.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.4072/0.4072, allocations: 12.02 MB / 0.8287 GB, free: 67.12 MB / 0.5887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo:9:42-9:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003453/0.0003454, allocations: 15.98 kB / 0.937 GB, free: 14.02 MB / 0.5887 GB Notification: AixLib requested package SDF of version 0.4.2. SDF 0.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007167/0.0007168, allocations: 29.23 kB / 1.058 GB, free: 2.488 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7387/0.7394, allocations: 110.2 MB / 1.165 GB, free: 160.1 MB / 0.7449 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.111/1.851, allocations: 378 MB / 1.534 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/1.851, allocations: 91.03 kB / 1.534 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.339/3.19, allocations: 286.9 MB / 1.815 GB, free: 239.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.49e-06/3.19, allocations: 0 / 1.815 GB, free: 239.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005244/3.191, allocations: 50.19 kB / 1.815 GB, free: 239.4 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 367 * Number of variables: 367 Notification: Performance of Generate backend data structure: time 0.01163/3.203, allocations: 2.579 MB / 1.817 GB, free: 238.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 8.753e-05/3.203, allocations: 9.25 kB / 1.817 GB, free: 238.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001663/3.204, allocations: 216.6 kB / 1.817 GB, free: 238.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004929/3.209, allocations: 404.7 kB / 1.818 GB, free: 238 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02311/3.232, allocations: 6.065 MB / 1.824 GB, free: 237.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004674/3.233, allocations: 227.2 kB / 1.824 GB, free: 237.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009119/3.234, allocations: 155.4 kB / 1.824 GB, free: 237.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006419/3.24, allocations: 1.734 MB / 1.826 GB, free: 237.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.823e-05/3.24, allocations: 5.156 kB / 1.826 GB, free: 237.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004248/3.241, allocations: 66.81 kB / 1.826 GB, free: 237.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.159e-05/3.241, allocations: 36.12 kB / 1.826 GB, free: 237.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004717/3.246, allocations: 1.392 MB / 1.827 GB, free: 237.1 MB / 0.948 GB 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.01347/3.259, allocations: 6.935 MB / 1.834 GB, free: 234.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/3.262, allocations: 1.355 MB / 1.835 GB, free: 234.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005402/3.263, allocations: 452.2 kB / 1.836 GB, free: 233.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001689/3.264, allocations: 0.9495 MB / 1.837 GB, free: 233.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=121): time 5.28e-06/3.265, allocations: 3.094 kB / 1.837 GB, free: 233.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=127): time 0.01338/3.278, allocations: 5.113 MB / 1.842 GB, free: 232 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/3.278, allocations: 280.5 kB / 1.842 GB, free: 231.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002725/3.281, allocations: 1.451 MB / 1.843 GB, free: 231.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001923/3.281, allocations: 61.05 kB / 1.843 GB, free: 231.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008546/3.282, allocations: 0.8264 MB / 1.844 GB, free: 231.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004153/3.282, allocations: 388.6 kB / 1.845 GB, free: 231 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.172e-05/3.282, allocations: 31.38 kB / 1.845 GB, free: 231 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001191/3.283, allocations: 353.1 kB / 1.845 GB, free: 230.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/3.284, allocations: 0.5412 MB / 1.845 GB, free: 230.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/3.285, allocations: 0.8262 MB / 1.846 GB, free: 230.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/3.287, allocations: 0.6886 MB / 1.847 GB, free: 230.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/3.287, allocations: 9.766 kB / 1.847 GB, free: 230.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.005086/3.292, allocations: 1.953 MB / 1.849 GB, free: 230 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006459/3.293, allocations: 2.455 MB / 1.851 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/3.293, allocations: 5.625 kB / 1.851 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/3.294, allocations: 341.4 kB / 1.852 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/3.295, allocations: 225.1 kB / 1.852 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/3.297, allocations: 1.511 MB / 1.853 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/3.299, allocations: 177.7 kB / 1.853 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/3.299, allocations: 49.77 kB / 1.853 GB, free: 226.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/3.299, allocations: 3.781 kB / 1.853 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003937/3.303, allocations: 1.67 MB / 1.855 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/3.303, allocations: 5.5 kB / 1.855 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/3.305, allocations: 304.2 kB / 1.855 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009329/3.306, allocations: 209 kB / 1.856 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/3.307, allocations: 1.452 MB / 1.857 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/3.309, allocations: 161.4 kB / 1.857 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/3.309, allocations: 51.12 kB / 1.857 GB, free: 225.2 MB / 0.948 GB Warning: Assuming fixed start value for the following 1 variables: combinedHeatPower.port_b.h_outflow:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, -10000000000.0))))))))) max = min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, 10000000000.0))))))))) start = combinedHeatPower.vol.dynBal.hStart unit = "J/kg" fixed = true nominal = 83680.0 stateSelect=StateSelect.never ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.combinedHeatPower.delayedOnOffController.onDelay.u,$PRE.combinedHeatPower.delayedOnOffController.onDelay.t_next,$PRE.combinedHeatPower.delayedOnOffController.onDelay1.u,$PRE.combinedHeatPower.delayedOnOffController.onDelay1.t_next,$PRE.combinedHeatPower.delayedOnOffController.y,$PRE.combinedHeatPower.delayedOnOffController.unitDelay.firstTrigger,combinedHeatPower.delayedOnOffController.unitDelay.firstTrigger,$whenCondition1,combinedHeatPower.delayedOnOffController.unitDelay.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,combinedHeatPower.delayedOnOffController.y,combinedHeatPower.delayedOnOffController.and1.u1,combinedHeatPower.delayedOnOffController.and1.u2,combinedHeatPower.delayedOnOffController.and1.y,$PRE.combinedHeatPower.delayedOnOffController.pre2.u,combinedHeatPower.delayedOnOffController.pre2.u,$PRE.combinedHeatPower.delayedOnOffController.onOffController.y,combinedHeatPower.delayedOnOffController.onOffController.y,combinedHeatPower.delayedOnOffController.or1.y,combinedHeatPower.delayedOnOffController.greaterThreshold.y,$PRE.combinedHeatPower.delayedOnOffController.unitDelay.y,combinedHeatPower.delayedOnOffController.unitDelay.y,combinedHeatPower.delayedOnOffController.logicalSwitch.u1,combinedHeatPower.delayedOnOffController.logicalSwitch.u3,combinedHeatPower.delayedOnOffController.logicalSwitch.y,combinedHeatPower.delayedOnOffController.lessThreshold1.y,combinedHeatPower.delayedOnOffController.greaterEqualThreshold.y,combinedHeatPower.delayedOnOffController.onDelay.u,combinedHeatPower.delayedOnOffController.onDelay.delaySignal,combinedHeatPower.delayedOnOffController.onDelay.t_next,combinedHeatPower.delayedOnOffController.onDelay1.u,combinedHeatPower.delayedOnOffController.onDelay1.delaySignal,combinedHeatPower.delayedOnOffController.onDelay1.t_next,$PRE.combinedHeatPower.thControl.triggeredSampler.y,combinedHeatPower.thControl.triggeredSampler.y,$PRE.combinedHeatPower.thControl.triggeredSampler2.y,combinedHeatPower.thControl.triggeredSampler2.y,combinedHeatPower.thControl.triggeredTrapezoid.endValue,combinedHeatPower.thControl.triggeredTrapezoid.rate,combinedHeatPower.thControl.triggeredTrapezoid.T,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,combinedHeatPower.elControl.I.local_reset,combinedHeatPower.thControl.PI1.I.local_reset,combinedHeatPower.thControl.PI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 12,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001722/3.311, allocations: 0.6761 MB / 1.858 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004791/3.312, allocations: 187.2 kB / 1.858 GB, free: 224.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004157/3.316, allocations: 1.933 MB / 1.86 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/3.316, allocations: 9.75 kB / 1.86 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/3.316, allocations: 0 / 1.86 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003442/3.319, allocations: 1.879 MB / 1.862 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008/3.327, allocations: 3.979 MB / 1.866 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/3.327, allocations: 3.938 kB / 1.866 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007554/3.328, allocations: 163.6 kB / 1.866 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/3.329, allocations: 331.4 kB / 1.866 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/3.329, allocations: 45 kB / 1.866 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/3.331, allocations: 1.488 MB / 1.868 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/3.331, allocations: 0 / 1.868 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005729/3.337, allocations: 2.745 MB / 1.87 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/3.338, allocations: 433.4 kB / 1.871 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002906/3.338, allocations: 34.78 kB / 1.871 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/3.34, allocations: 168.5 kB / 1.871 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/3.34, allocations: 98.48 kB / 1.871 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/3.34, allocations: 43.77 kB / 1.871 GB, free: 222 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002025/3.342, allocations: 1.104 MB / 1.872 GB, free: 221.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.51e-07/3.342, allocations: 0 / 1.872 GB, free: 221.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002487/3.345, allocations: 0.735 MB / 1.873 GB, free: 221.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (combinedHeatPower.port_b.h_outflow,combinedHeatPower.senTCold.T,combinedHeatPower.senTHot.T,combinedHeatPower.thControl.PI.I.y,combinedHeatPower.thControl.PI1.I.y,combinedHeatPower.elControl.I.y) * Number of discrete variables: 37 (combinedHeatPower.delayedOnOffController.y,combinedHeatPower.delayedOnOffController.onDelay.u,combinedHeatPower.delayedOnOffController.unitDelay.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,combinedHeatPower.delayedOnOffController.and1.u1,combinedHeatPower.delayedOnOffController.and1.u2,combinedHeatPower.delayedOnOffController.and1.y,combinedHeatPower.delayedOnOffController.pre2.u,combinedHeatPower.delayedOnOffController.onOffController.y,combinedHeatPower.delayedOnOffController.or1.y,combinedHeatPower.delayedOnOffController.greaterThreshold.y,combinedHeatPower.delayedOnOffController.unitDelay.firstTrigger,combinedHeatPower.delayedOnOffController.unitDelay.y,combinedHeatPower.delayedOnOffController.logicalSwitch.u1,combinedHeatPower.delayedOnOffController.logicalSwitch.u3,combinedHeatPower.delayedOnOffController.logicalSwitch.y,combinedHeatPower.delayedOnOffController.lessThreshold1.y,combinedHeatPower.delayedOnOffController.greaterEqualThreshold.y,combinedHeatPower.delayedOnOffController.onDelay.delaySignal,combinedHeatPower.delayedOnOffController.onDelay.t_next,combinedHeatPower.delayedOnOffController.onDelay1.u,combinedHeatPower.delayedOnOffController.onDelay1.delaySignal,combinedHeatPower.delayedOnOffController.onDelay1.t_next,combinedHeatPower.thControl.triggeredSampler.y,combinedHeatPower.thControl.triggeredSampler2.y,combinedHeatPower.thControl.triggeredTrapezoid.endValue,combinedHeatPower.thControl.triggeredTrapezoid.rate,combinedHeatPower.thControl.triggeredTrapezoid.T,trapezoid.T_start,trapezoid.count) * Number of discrete states: 13 (trapezoid.count,combinedHeatPower.delayedOnOffController.pre2.u,combinedHeatPower.delayedOnOffController.onDelay.t_next,combinedHeatPower.delayedOnOffController.onDelay.delaySignal,$whenCondition8,$whenCondition7,combinedHeatPower.delayedOnOffController.onDelay1.t_next,combinedHeatPower.delayedOnOffController.onDelay1.delaySignal,$whenCondition6,$whenCondition5,combinedHeatPower.thControl.triggeredTrapezoid.y,combinedHeatPower.delayedOnOffController.onOffController.y,combinedHeatPower.delayedOnOffController.unitDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 11,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.006826/3.352, allocations: 4.027 MB / 1.877 GB, free: 220.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005216/3.357, allocations: 2.553 MB / 1.879 GB, free: 220 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/3.357, allocations: 2.938 kB / 1.879 GB, free: 220 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001893/3.359, allocations: 0.9321 MB / 1.88 GB, free: 219.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00331/3.362, allocations: 0.5914 MB / 1.881 GB, free: 219.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02464/3.387, allocations: 15.75 MB / 1.896 GB, free: 209.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009029/3.388, allocations: 1.395 MB / 1.898 GB, free: 208.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001857/3.39, allocations: 290.7 kB / 1.898 GB, free: 208.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009681/3.391, allocations: 0.7167 MB / 1.899 GB, free: 207.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.022e-06/3.391, allocations: 0 / 1.899 GB, free: 207.9 MB / 0.948 GB [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: AixLib.Fluid.BoilerCHP.CHP$combinedHeatPower.Medium.density_pTX(300000.0, 293.15, {1.0}).