Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.KPIs.Examples.Co2Kpis.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.0008053/0.0008053, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008434/0.0008434, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8896/0.8896, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.03494/0.03494, allocations: 9.113 MB / 268.3 MB, free: 4.473 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.0004297/0.0004297, allocations: 31.88 kB / 327.8 MB, free: 5.781 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.569/1.569, allocations: 275 MB / 0.6467 GB, free: 2.828 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.Utilities.KPIs.Examples.Co2Kpis,fileNamePrefix="AixLib_AixLib_Utilities_KPIs_Examples_Co2Kpis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Utilities.KPIs.Examples.Co2Kpis,fileNamePrefix="AixLib_AixLib_Utilities_KPIs_Examples_Co2Kpis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 5.125 kB / 0.9279 GB, free: 21.2 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.356e-05, allocations: 2.984 kB / 0.9279 GB, free: 21.19 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.KPIs.Examples.Co2Kpis): time 0.006362/0.006385, allocations: 7.263 MB / 0.935 GB, free: 16.34 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.005374/0.01176, allocations: 3.863 MB / 0.9388 GB, free: 13.44 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.01356, allocations: 150.2 kB / 0.939 GB, free: 13.35 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 0.0008973/0.01446, allocations: 0.5694 MB / 0.9395 GB, free: 12.91 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.0008127/0.01527, allocations: 323.3 kB / 0.9398 GB, free: 12.65 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.01778, allocations: 1.899 MB / 0.9417 GB, free: 11.35 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.003197/0.02097, allocations: 3.42 MB / 0.945 GB, free: 9.43 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.02237, allocations: 1.139 MB / 0.9461 GB, free: 8.68 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/0.02389, allocations: 1.623 MB / 0.9477 GB, free: 7.727 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006647/0.02455, allocations: 0.824 MB / 0.9485 GB, free: 7.285 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 0.0003621/0.02491, allocations: 376.3 kB / 0.9489 GB, free: 7.285 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.02522, allocations: 375.9 kB / 0.9492 GB, free: 7.285 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 0.000329/0.02555, allocations: 0.6867 MB / 0.9499 GB, free: 6.754 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 0.0005501/0.0261, allocations: 0.8243 MB / 0.9507 GB, free: 6.215 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.004032/0.03014, allocations: 4.432 MB / 0.955 GB, free: 4.316 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.03014, allocations: 0 / 0.955 GB, free: 4.316 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.753e-06/0.03014, allocations: 5.281 kB / 0.955 GB, free: 4.312 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 0.000102/0.03024, allocations: 0.5625 kB / 0.955 GB, free: 4.312 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: 558 * Number of variables: 558 Notification: Performance of Generate backend data structure: time 0.005495/0.03574, allocations: 3.378 MB / 0.9583 GB, free: 2.301 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/0.0358, allocations: 13.45 kB / 0.9584 GB, free: 2.297 MB / 0.7293 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003242/0.03613, allocations: 311.3 kB / 0.9586 GB, free: 2.109 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004419/0.03657, allocations: 311.3 kB / 0.9589 GB, free: 1.945 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003728/0.04029, allocations: 2.322 MB / 0.9612 GB, free: 0.6211 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.04052, allocations: 186.2 kB / 0.9614 GB, free: 0.5352 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004583/0.04097, allocations: 230.7 kB / 0.9616 GB, free: 468 kB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004158/0.04513, allocations: 2.877 MB / 0.9644 GB, free: 14.67 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.04516, allocations: 7.438 kB / 0.9644 GB, free: 14.66 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.04531, allocations: 100.2 kB / 0.9645 GB, free: 14.59 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/0.04535, allocations: 55.31 kB / 0.9646 GB, free: 14.59 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/0.04803, allocations: 1.682 MB / 0.9662 GB, free: 13.95 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008936/0.05697, allocations: 9.073 MB / 0.9751 GB, free: 6.496 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/0.05905, allocations: 1.132 MB / 0.9762 GB, free: 5.902 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006042/0.05966, allocations: 390.1 kB / 0.9766 GB, free: 5.695 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/0.0597, allocations: 11.28 kB / 0.9766 GB, free: 5.695 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008026/0.06051, allocations: 0.5316 MB / 0.9771 GB, free: 5.363 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=91): time 4.789e-06/0.06051, allocations: 3.938 kB / 0.9771 GB, free: 5.359 MB / 0.7449 GB Notification: Performance of matching and sorting (n=91): time 0.002135/0.06265, allocations: 1.269 MB / 0.9783 GB, free: 4.703 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.06269, allocations: 61.84 kB / 0.9784 GB, free: 4.641 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.06457, allocations: 1.675 MB / 0.98 GB, free: 3.691 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-05/0.06465, allocations: 51.03 kB / 0.9801 GB, free: 3.641 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.06567, allocations: 1.152 MB / 0.9812 GB, free: 2.629 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.06588, allocations: 327.3 kB / 0.9815 GB, free: 2.348 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003639/0.06624, allocations: 365.1 kB / 0.9819 GB, free: 2.137 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.06631, allocations: 314.6 kB / 0.9822 GB, free: 1.828 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008186/0.06713, allocations: 0.5669 MB / 0.9827 GB, free: 1.508 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.06828, allocations: 1.252 MB / 0.9839 GB, free: 272 kB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.07019, allocations: 1.788 MB / 0.9857 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.07021, allocations: 7.562 kB / 0.9857 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002686/0.07289, allocations: 1.929 MB / 0.9876 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.11e-05/0.07294, allocations: 47.59 kB / 0.9876 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.07296, allocations: 22.97 kB / 0.9876 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.703e-05/0.073, allocations: 34.09 kB / 0.9877 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/0.07361, allocations: 306.5 kB / 0.988 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.684e-05/0.07364, allocations: 51.05 kB / 0.988 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000736/0.07438, allocations: 221.5 kB / 0.9882 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.193e-05/0.07447, allocations: 85.23 kB / 0.9883 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001475/0.07595, allocations: 1.026 MB / 0.9893 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001144/0.07709, allocations: 1.181 MB / 0.9905 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001427/0.07852, allocations: 1.677 MB / 0.9921 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.518e-06/0.07853, allocations: 6.969 kB / 0.9921 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of matching and sorting (n=198) (initialization_lambda0): time 0.002026/0.08055, allocations: 1.8 MB / 0.9939 GB, free: 9.062 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.08059, allocations: 45.22 kB / 0.9939 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.08061, allocations: 24.62 kB / 0.9939 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.08063, allocations: 32.22 kB / 0.994 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/0.08112, allocations: 288.2 kB / 0.9942 GB, free: 8.953 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.079e-05/0.08115, allocations: 52.62 kB / 0.9943 GB, free: 8.934 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/0.08171, allocations: 163.3 kB / 0.9944 GB, free: 8.828 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.009e-05/0.08179, allocations: 76 kB / 0.9945 GB, free: 8.816 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 57 ($whenCondition1,traCo2Con.T_start,$PRE.traCo2Con.T_start,traCo2Con.count,$PRE.traCo2Con.count,booPulAct.pulseStart,$PRE.booPulAct.pulseStart,fixBou.itgErrPos.isItgAct,fixBouAct.itgErrPos.booExpIsAct.y,fixBouAct.itgErrPos.isItgAct,fixBouRes.notRes.y,fixBouTim.itgTim[1].itgAct_in,fixBouTimRes.itgTim[1].itgAct_in,din16798Tim.fixLimCat1.itgTim[1].itgAct_in,din16798Tim.fixLimCat2.itgTim[1].itgAct_in,din16798Tim.fixLimCat3.itgTim[1].itgAct_in,din16798Tim.fixLimCat4.itgTim[1].itgAct_in,din16798ActTim.itgAct_in,din16798ActTim.fixLimCat1.itgTim[1].itgAct_in,din16798ActTim.fixLimCat1.itgErrPos.booExpIsAct.y,din16798ActTim.fixLimCat2.itgTim[1].itgAct_in,din16798ActTim.fixLimCat2.itgErrPos.booExpIsAct.y,din16798ActTim.fixLimCat3.itgTim[1].itgAct_in,din16798ActTim.fixLimCat3.itgErrPos.booExpIsAct.y,din16798ActTim.fixLimCat4.itgTim[1].itgAct_in,din16798ActTim.fixLimCat4.itgErrPos.booExpIsAct.y,$whenCondition2,$whenCondition3,$whenCondition4,din16798Tim.fixLimCat4.itgErrPos.itgAct_internal,din16798Tim.fixLimCat3.itgErrPos.itgAct_internal,din16798Tim.fixLimCat2.itgErrPos.itgAct_internal,din16798Tim.fixLimCat1.itgErrPos.itgAct_internal,fixBouTimRes.itgErrPos.itgAct_internal,fixBouTim.itgErrPos.itgAct_internal,fixBouRes.itgErrPos.itgAct_internal,fixBou.itgErrPos.itgAct_internal,din16798ActTim.fixLimCat4.itgErrPos.errItg.local_reset,din16798ActTim.fixLimCat4.itgTim[1].timeItg.local_reset,din16798ActTim.fixLimCat3.itgErrPos.errItg.local_reset,din16798ActTim.fixLimCat3.itgTim[1].timeItg.local_reset,din16798ActTim.fixLimCat2.itgErrPos.errItg.local_reset,din16798ActTim.fixLimCat2.itgTim[1].timeItg.local_reset,din16798ActTim.fixLimCat1.itgErrPos.errItg.local_reset,din16798ActTim.fixLimCat1.itgTim[1].timeItg.local_reset,din16798Tim.fixLimCat4.itgErrPos.errItg.local_reset,din16798Tim.fixLimCat4.itgTim[1].timeItg.local_reset,din16798Tim.fixLimCat3.itgErrPos.errItg.local_reset,din16798Tim.fixLimCat3.itgTim[1].timeItg.local_reset,din16798Tim.fixLimCat2.itgErrPos.errItg.local_reset,din16798Tim.fixLimCat2.itgTim[1].timeItg.local_reset,din16798Tim.fixLimCat1.itgErrPos.errItg.local_reset,din16798Tim.fixLimCat1.itgTim[1].timeItg.local_reset,fixBouTim.itgErrPos.errItg.local_reset,fixBouTim.itgTim[1].timeItg.local_reset,fixBouAct.itgErrPos.errItg.local_reset,fixBou.itgErrPos.errItg.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 196 * 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.0003952/0.08218, allocations: 339.8 kB / 0.9948 GB, free: 8.52 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.08236, allocations: 178.8 kB / 0.995 GB, free: 8.422 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/0.08268, allocations: 181.8 kB / 0.9952 GB, free: 8.293 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.08269, allocations: 9.281 kB / 0.9952 GB, free: 8.293 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.892e-05/0.08271, allocations: 5.062 kB / 0.9952 GB, free: 8.289 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.08271, allocations: 3.984 kB / 0.9952 GB, free: 8.285 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003218/0.08593, allocations: 2.576 MB / 0.9977 GB, free: 6.086 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.08593, allocations: 3.938 kB / 0.9977 GB, free: 6.082 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/0.08637, allocations: 151.8 kB / 0.9979 GB, free: 5.934 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.08637, allocations: 4 kB / 0.9979 GB, free: 5.93 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.477e-05/0.08643, allocations: 43.92 kB / 0.9979 GB, free: 5.887 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.08643, allocations: 0 / 0.9979 GB, free: 5.887 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.08643, allocations: 0 / 0.9979 GB, free: 5.887 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/0.08855, allocations: 1.574 MB / 0.9994 GB, free: 4.293 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.08872, allocations: 170.6 kB / 0.9996 GB, free: 4.125 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.891e-05/0.08882, allocations: 35.92 kB / 0.9996 GB, free: 4.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.08911, allocations: 59.92 kB / 0.9997 GB, free: 4.031 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.08924, allocations: 84.86 kB / 0.9998 GB, free: 3.949 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.08927, allocations: 27.98 kB / 0.9998 GB, free: 3.922 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0009906/0.09026, allocations: 1.036 MB / 1.001 GB, free: 2.895 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/0.09026, allocations: 0 / 1.001 GB, free: 2.895 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001553/0.09181, allocations: 0.7197 MB / 1.002 GB, free: 2.172 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 23 (din16798ActTim.fixLimCat4.itgErrPos.errItg.y,din16798ActTim.fixLimCat4.itgTim[1].timeItg.y,din16798ActTim.fixLimCat3.itgErrPos.errItg.y,din16798ActTim.fixLimCat3.itgTim[1].timeItg.y,din16798ActTim.fixLimCat2.itgErrPos.errItg.y,din16798ActTim.fixLimCat2.itgTim[1].timeItg.y,din16798ActTim.fixLimCat1.itgErrPos.errItg.y,din16798ActTim.fixLimCat1.itgTim[1].timeItg.y,din16798Tim.fixLimCat4.itgErrPos.errItg.y,din16798Tim.fixLimCat4.itgTim[1].timeItg.y,din16798Tim.fixLimCat3.itgErrPos.errItg.y,din16798Tim.fixLimCat3.itgTim[1].timeItg.y,din16798Tim.fixLimCat2.itgErrPos.errItg.y,din16798Tim.fixLimCat2.itgTim[1].timeItg.y,din16798Tim.fixLimCat1.itgErrPos.errItg.y,din16798Tim.fixLimCat1.itgTim[1].timeItg.y,fixBouTimRes.itgErrPos.errItg.y,fixBouTimRes.itgTim[1].timeItg.y,fixBouTim.itgErrPos.errItg.y,fixBouTim.itgTim[1].timeItg.y,fixBouRes.itgErrPos.errItg.y,fixBouAct.itgErrPos.errItg.y,fixBou.itgErrPos.errItg.y) * Number of discrete variables: 26 (fixBouTimRes.itgTim[1].itgAct_in,fixBouRes.notRes.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,din16798ActTim.fixLimCat4.itgErrPos.booExpIsAct.y,din16798ActTim.fixLimCat4.itgTim[1].itgAct_in,din16798ActTim.fixLimCat3.itgErrPos.booExpIsAct.y,din16798ActTim.fixLimCat3.itgTim[1].itgAct_in,din16798ActTim.fixLimCat2.itgErrPos.booExpIsAct.y,din16798ActTim.fixLimCat2.itgTim[1].itgAct_in,din16798ActTim.fixLimCat1.itgErrPos.booExpIsAct.y,din16798ActTim.fixLimCat1.itgTim[1].itgAct_in,din16798ActTim.itgAct_in,din16798Tim.fixLimCat4.itgTim[1].itgAct_in,din16798Tim.fixLimCat3.itgTim[1].itgAct_in,din16798Tim.fixLimCat2.itgTim[1].itgAct_in,din16798Tim.fixLimCat1.itgTim[1].itgAct_in,fixBouTim.itgTim[1].itgAct_in,fixBouAct.itgErrPos.isItgAct,fixBouAct.itgErrPos.booExpIsAct.y,fixBou.itgErrPos.isItgAct,booPulAct.pulseStart,traCo2Con.count,traCo2Con.T_start) * Number of discrete states: 1 (traCo2Con.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.002134/0.09395, allocations: 2.175 MB / 1.004 GB, free: 15.97 MB / 0.7762 GB Notification: Performance of simCode: created initialization part: time 0.002707/0.09665, allocations: 2.104 MB / 1.006 GB, free: 13.84 MB / 0.7762 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.09666, allocations: 4 kB / 1.006 GB, free: 13.83 MB / 0.7762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005933/0.09725, allocations: 441.5 kB / 1.006 GB, free: 13.4 MB / 0.7762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009287/0.09818, allocations: 349.4 kB / 1.006 GB, free: 13.09 MB / 0.7762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01823/0.1164, allocations: 14.93 MB / 1.021 GB, free: 13.23 MB / 0.7918 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008938/0.1173, allocations: 1.106 MB / 1.022 GB, free: 12.08 MB / 0.7918 GB Notification: Performance of simCode: alias equations: time 0.001026/0.1183, allocations: 473 kB / 1.023 GB, free: 11.61 MB / 0.7918 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007555/0.1191, allocations: 0.8518 MB / 1.023 GB, free: 10.76 MB / 0.7918 GB Notification: Performance of SimCode: time 1.923e-06/0.1191, allocations: 0 / 1.023 GB, free: 10.76 MB / 0.7918 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05356/0.1727, allocations: 37.2 MB / 1.06 GB, free: 6.004 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.557/8.73, allocations: 10.97 kB / 1.06 GB, free: 5.996 MB / 0.823 GB " [Timeout remaining time 651] (rm -f AixLib_AixLib.Utilities.KPIs.Examples.Co2Kpis.pipe ; mkfifo AixLib_AixLib.Utilities.KPIs.Examples.Co2Kpis.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.KPIs.Examples.Co2Kpis.pipe >> ../files/AixLib_AixLib.Utilities.KPIs.Examples.Co2Kpis.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Utilities.KPIs.Examples.Co2Kpis_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 AixLib_AixLib_Utilities_KPIs_Examples_Co2Kpis.fmu > AixLib_AixLib.Utilities.KPIs.Examples.Co2Kpis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.923724737018347] Failed to read output from testmodel.py, exit status != 0: 8.830052686855197 8.84595721 8.812816707 Calling exit ...