Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Obsolete.YearIndependent.FastHVAC.Examples.HeatGenerators.CHP.CHP.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.0007713/0.0007713, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008539/0.0008539, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 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 0.8915/0.8915, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03554/0.03554, allocations: 9.12 MB / 268.3 MB, free: 4.496 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004543/0.0004543, allocations: 27.91 kB / 327.8 MB, free: 5.832 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.573/1.573, allocations: 275 MB / 0.6467 GB, free: 2.863 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) 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.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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(AixLib.Obsolete.YearIndependent.FastHVAC.Examples.HeatGenerators.CHP.CHP,fileNamePrefix="AixLib_AixLib_Obsolete_YearIndependent_FastHVAC_Examples_HeatGenerators_CHP_CHP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Obsolete.YearIndependent.FastHVAC.Examples.HeatGenerators.CHP.CHP,fileNamePrefix="AixLib_AixLib_Obsolete_YearIndependent_FastHVAC_Examples_HeatGenerators_CHP_CHP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.928 GB, free: 21.14 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.264e-05, allocations: 2.281 kB / 0.928 GB, free: 21.14 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.YearIndependent.FastHVAC.Examples.HeatGenerators.CHP.CHP): time 0.003325/0.003348, allocations: 3.255 MB / 0.9312 GB, free: 18.98 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.004956, allocations: 1.425 MB / 0.9325 GB, free: 17.98 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.005147, allocations: 6.75 kB / 0.9326 GB, free: 17.98 MB / 0.7293 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Obsolete/YearIndependent/FastHVAC/Components/Pumps/FluidSource.mo:21:3-24:57:writable] Warning: Connector enthalpyPort_b is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Obsolete/YearIndependent/FastHVAC/Components/Sinks/Vessel.mo:9:3-11:41:writable] Warning: Connector enthalpyPort_a is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Obsolete/YearIndependent/FastHVAC/Components/Sensors/TemperatureSensor.mo:16:3-18:59:writable] Warning: Connector enthalpyPort_a is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Obsolete/YearIndependent/FastHVAC/Components/Sensors/TemperatureSensor.mo:19:3-21:57:writable] Warning: Connector enthalpyPort_b is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Obsolete/YearIndependent/FastHVAC/Components/Sensors/TemperatureSensor.mo:16:3-18:59:writable] Warning: Connector enthalpyPort_a is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Obsolete/YearIndependent/FastHVAC/Components/Sensors/TemperatureSensor.mo:19:3-21:57:writable] Warning: Connector enthalpyPort_b is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Obsolete/YearIndependent/FastHVAC/BaseClasses/EnergyBalance.mo:4:3-7:59:writable] Warning: Connector enthalpyPort_a is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Obsolete/YearIndependent/FastHVAC/BaseClasses/EnergyBalance.mo:8:3-11:57:writable] Warning: Connector enthalpyPort_b is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Obsolete/YearIndependent/FastHVAC/BaseClasses/WorkingFluid.mo:13:3-15:71:writable] Warning: Connector enthalpyPort_b is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Obsolete/YearIndependent/FastHVAC/BaseClasses/WorkingFluid.mo:16:3-18:73:writable] Warning: Connector enthalpyPort_a is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Obsolete/YearIndependent/FastHVAC/Components/HeatGenerators/CHP/CHP_PT1.mo:80:5-81:71:writable] Warning: Connector enthalpyPort_b is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Obsolete/YearIndependent/FastHVAC/Components/HeatGenerators/CHP/CHP_PT1.mo:83:5-84:63:writable] Warning: Connector enthalpyPort_a is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Obsolete/YearIndependent/FastHVAC/Components/Sensors/MassFlowSensor.mo:14:3-16:59:writable] Warning: Connector enthalpyPort_a is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Obsolete/YearIndependent/FastHVAC/Components/Sensors/MassFlowSensor.mo:17:3-19:57:writable] Warning: Connector enthalpyPort_b is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Obsolete/YearIndependent/FastHVAC/Components/Sensors/TemperatureSensor.mo:16:3-18:59:writable] Warning: Connector enthalpyPort_a is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Obsolete/YearIndependent/FastHVAC/Components/Sensors/TemperatureSensor.mo:19:3-21:57:writable] Warning: Connector enthalpyPort_b is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Obsolete/YearIndependent/FastHVAC/Components/Sensors/TemperatureSensor.mo:16:3-18:59:writable] Warning: Connector enthalpyPort_a is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Obsolete/YearIndependent/FastHVAC/Components/Sensors/TemperatureSensor.mo:19:3-21:57:writable] Warning: Connector enthalpyPort_b is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004642/0.005611, allocations: 123.4 kB / 0.9327 GB, free: 17.92 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.0004078/0.006019, allocations: 238.3 kB / 0.9329 GB, free: 17.76 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.006352, allocations: 159.4 kB / 0.9331 GB, free: 17.66 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0007073/0.007059, allocations: 0.6532 MB / 0.9337 GB, free: 17.32 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.007346, allocations: 207.7 kB / 0.9339 GB, free: 17.2 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003553/0.007701, allocations: 405.4 kB / 0.9343 GB, free: 17.02 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.007945, allocations: 213.3 kB / 0.9345 GB, free: 16.94 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 7.466e-05/0.008019, allocations: 72.06 kB / 0.9345 GB, free: 16.94 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.008128, allocations: 79.36 kB / 0.9346 GB, free: 16.93 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.008228, allocations: 154.7 kB / 0.9348 GB, free: 16.82 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.008405, allocations: 225.2 kB / 0.935 GB, free: 16.72 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0009173/0.009322, allocations: 0.9499 MB / 0.9359 GB, free: 16.38 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.009326, allocations: 1.25 kB / 0.9359 GB, free: 16.38 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.553e-06/0.009327, allocations: 0 / 0.9359 GB, free: 16.38 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.009338, allocations: 0 / 0.9359 GB, free: 16.38 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001175/0.01051, allocations: 0.87 MB / 0.9368 GB, free: 15.77 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.01055, allocations: 14.36 kB / 0.9368 GB, free: 15.76 MB / 0.7293 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.726e-05/0.01063, allocations: 100.6 kB / 0.9369 GB, free: 15.68 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.01085, allocations: 104.2 kB / 0.937 GB, free: 15.64 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.01123, allocations: 344.9 kB / 0.9373 GB, free: 15.38 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.603e-05/0.01131, allocations: 131.5 kB / 0.9374 GB, free: 15.27 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/0.01137, allocations: 56.39 kB / 0.9375 GB, free: 15.25 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006705/0.01204, allocations: 0.5795 MB / 0.938 GB, free: 14.94 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.01206, allocations: 4.188 kB / 0.938 GB, free: 14.93 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.01209, allocations: 25.06 kB / 0.9381 GB, free: 14.91 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.0121, allocations: 14.53 kB / 0.9381 GB, free: 14.91 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005201/0.01262, allocations: 408.9 kB / 0.9385 GB, free: 14.75 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.01411, allocations: 1.729 MB / 0.9402 GB, free: 13.52 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/0.01457, allocations: 265.9 kB / 0.9404 GB, free: 13.39 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.01474, allocations: 152.1 kB / 0.9406 GB, free: 13.3 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.01475, allocations: 3.938 kB / 0.9406 GB, free: 13.3 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002698/0.01502, allocations: 251.8 kB / 0.9408 GB, free: 13.14 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=25): time 1.873e-06/0.01503, allocations: 5.156 kB / 0.9408 GB, free: 13.13 MB / 0.7293 GB Notification: Performance of matching and sorting (n=25): time 0.000623/0.01565, allocations: 495 kB / 0.9413 GB, free: 12.86 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.01568, allocations: 115.2 kB / 0.9414 GB, free: 12.73 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.01608, allocations: 0.5008 MB / 0.9419 GB, free: 12.48 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.0161, allocations: 31.73 kB / 0.9419 GB, free: 12.45 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.01622, allocations: 273.4 kB / 0.9422 GB, free: 12.23 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/0.01628, allocations: 94.34 kB / 0.9423 GB, free: 12.16 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.84e-05/0.01636, allocations: 60.14 kB / 0.9423 GB, free: 12.12 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 6.518e-05/0.01642, allocations: 363.6 kB / 0.9427 GB, free: 11.78 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.01661, allocations: 160.9 kB / 0.9428 GB, free: 11.7 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.01682, allocations: 249 kB / 0.9431 GB, free: 11.51 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.01721, allocations: 402.1 kB / 0.9434 GB, free: 11.23 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.01721, allocations: 5.031 kB / 0.9434 GB, free: 11.22 MB / 0.7293 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005083/0.01772, allocations: 489.7 kB / 0.9439 GB, free: 10.96 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.01775, allocations: 33.92 kB / 0.9439 GB, free: 10.93 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.01775, allocations: 2.562 kB / 0.944 GB, free: 10.93 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.01777, allocations: 4.219 kB / 0.944 GB, free: 10.93 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.01798, allocations: 78.69 kB / 0.944 GB, free: 10.93 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.01799, allocations: 13.62 kB / 0.944 GB, free: 10.92 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.01813, allocations: 59.55 kB / 0.9441 GB, free: 10.88 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.01815, allocations: 17.78 kB / 0.9441 GB, free: 10.88 MB / 0.7293 GB Warning: Assuming fixed start value for the following 1 variables: cHP_PT1_1.switchCounter.n_switch:DISCRETE(start = 0 fixed = true ) \"number of switching events\" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.cHP_PT1_1.switchCounter.n_switch,cHP_PT1_1.switchCounter.n_switch,$whenCondition1,cHP_PT1_1.switchCounter.u,$PRE.cHP_PT1_1.switchCounter.u,booleanOnOffCHP.pulseStart,$PRE.booleanOnOffCHP.pulseStart,$whenCondition2,cHP_PT1_1.integrator[3].local_reset,cHP_PT1_1.integrator[2].local_reset,cHP_PT1_1.integrator[1].local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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.0001821/0.01833, allocations: 230.2 kB / 0.9443 GB, free: 10.68 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.01837, allocations: 51.89 kB / 0.9444 GB, free: 10.65 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.036e-05/0.01843, allocations: 54.55 kB / 0.9444 GB, free: 10.62 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01843, allocations: 2.781 kB / 0.9444 GB, free: 10.62 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.01844, allocations: 0.6562 kB / 0.9444 GB, free: 10.62 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.01844, allocations: 4.734 kB / 0.9444 GB, free: 10.62 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003432/0.01878, allocations: 411.5 kB / 0.9448 GB, free: 10.36 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01879, allocations: 0 / 0.9448 GB, free: 10.36 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.01895, allocations: 51.66 kB / 0.9449 GB, free: 10.34 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01895, allocations: 1.406 kB / 0.9449 GB, free: 10.34 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.01897, allocations: 8.328 kB / 0.9449 GB, free: 10.34 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01897, allocations: 2 kB / 0.9449 GB, free: 10.34 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01898, allocations: 0.5625 kB / 0.9449 GB, free: 10.34 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006439/0.01962, allocations: 0.5761 MB / 0.9455 GB, free: 9.996 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.01974, allocations: 84.84 kB / 0.9455 GB, free: 9.941 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.01978, allocations: 8.406 kB / 0.9455 GB, free: 9.938 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.01988, allocations: 20.88 kB / 0.9456 GB, free: 9.93 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.01995, allocations: 23.17 kB / 0.9456 GB, free: 9.926 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.01996, allocations: 5.328 kB / 0.9456 GB, free: 9.926 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 0.000275/0.02024, allocations: 360.3 kB / 0.9459 GB, free: 9.758 MB / 0.7293 GB Notification: Performance of sort global known variables: time 8e-08/0.02024, allocations: 3.938 kB / 0.9459 GB, free: 9.754 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.000245/0.02048, allocations: 110.5 kB / 0.946 GB, free: 9.734 MB / 0.7293 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (cHP_PT1_1.firstOrderQ_th.y,cHP_PT1_1.firstOrderP_el.y,cHP_PT1_1.fluidCHP.heatCapacitor.T,cHP_PT1_1.integrator[1].y,cHP_PT1_1.integrator[2].y,cHP_PT1_1.integrator[3].y) * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booleanOnOffCHP.pulseStart,cHP_PT1_1.switchCounter.n_switch,cHP_PT1_1.switchCounter.u) * Number of discrete states: 3 (cHP_PT1_1.switchCounter.n_switch,$whenCondition2,cHP_PT1_1.switchCounter.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0007394/0.02122, allocations: 1.132 MB / 0.9472 GB, free: 8.855 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.000451/0.02167, allocations: 406.6 kB / 0.9475 GB, free: 8.625 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.02168, allocations: 3.938 kB / 0.9475 GB, free: 8.621 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.02187, allocations: 217.6 kB / 0.9478 GB, free: 8.477 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.02224, allocations: 117.3 kB / 0.9479 GB, free: 8.43 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/0.02692, allocations: 4.784 MB / 0.9525 GB, free: 5.633 MB / 0.7293 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.02712, allocations: 263.3 kB / 0.9528 GB, free: 5.523 MB / 0.7293 GB Notification: Performance of simCode: alias equations: time 0.0001791/0.0273, allocations: 65.86 kB / 0.9529 GB, free: 5.512 MB / 0.7293 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.02748, allocations: 174.3 kB / 0.953 GB, free: 5.379 MB / 0.7293 GB Notification: Performance of SimCode: time 9.32e-07/0.02748, allocations: 5.125 kB / 0.953 GB, free: 5.375 MB / 0.7293 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.05564, allocations: 12.17 MB / 0.9649 GB, free: 2.234 MB / 0.7293 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.391/7.446, allocations: 7.891 kB / 0.9649 GB, free: 2.23 MB / 0.7293 GB " [Timeout remaining time 652] (rm -f AixLib_AixLib.Obsolete.YearIndependent.FastHVAC.Examples.HeatGenerators.CHP.CHP.pipe ; mkfifo AixLib_AixLib.Obsolete.YearIndependent.FastHVAC.Examples.HeatGenerators.CHP.CHP.pipe ; head -c 1048576 < AixLib_AixLib.Obsolete.YearIndependent.FastHVAC.Examples.HeatGenerators.CHP.CHP.pipe >> ../files/AixLib_AixLib.Obsolete.YearIndependent.FastHVAC.Examples.HeatGenerators.CHP.CHP.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Obsolete.YearIndependent.FastHVAC.Examples.HeatGenerators.CHP.CHP_res.csv --start-time 0 --stop-time 72000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 AixLib_AixLib_Obsolete_YearIndependent_FastHVAC_Examples_HeatGenerators_CHP_CHP.fmu > AixLib_AixLib.Obsolete.YearIndependent.FastHVAC.Examples.HeatGenerators.CHP.CHP.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.724139901809394] Failed to read output from testmodel.py, exit status != 0: 7.533849480561912 7.542870965 7.531511739 Calling exit ...