Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.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.0008557/0.0008557, 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.0009141/0.0009141, allocations: 169.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.88/0.88, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.0346/0.0346, allocations: 9.119 MB / 268.3 MB, free: 4.484 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.0004304/0.0004304, allocations: 31.94 kB / 327.8 MB, free: 20.63 MB / 266.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.531/1.531, allocations: 275 MB / 0.6467 GB, free: 2.5 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.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety,fileNamePrefix="AixLib_AixLib_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_Safety",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety,fileNamePrefix="AixLib_AixLib_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_Safety",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.928 GB, free: 8.645 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048e-05/1.178e-05, allocations: 6.281 kB / 0.928 GB, free: 8.637 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety): time 0.00453/0.004542, allocations: 4.724 MB / 0.9326 GB, free: 3.906 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002986/0.007528, allocations: 2.5 MB / 0.9351 GB, free: 1.406 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004151/0.007943, allocations: 27.81 kB / 0.9351 GB, free: 1.379 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006031/0.008546, allocations: 288.5 kB / 0.9354 GB, free: 1.098 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0006648/0.009211, allocations: 436.9 kB / 0.9358 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.01022, allocations: 0.5863 MB / 0.9364 GB, free: 96 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009292/0.01115, allocations: 1.563 MB / 0.9379 GB, free: 14.53 MB / 0.7137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005067/0.01166, allocations: 451.8 kB / 0.9383 GB, free: 14.07 MB / 0.7137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006031/0.01226, allocations: 0.8692 MB / 0.9392 GB, free: 13.2 MB / 0.7137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004603/0.01272, allocations: 0.5687 MB / 0.9397 GB, free: 12.62 MB / 0.7137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.01285, allocations: 180 kB / 0.9399 GB, free: 12.45 MB / 0.7137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.01305, allocations: 220.9 kB / 0.9401 GB, free: 12.23 MB / 0.7137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002462/0.01329, allocations: 450.7 kB / 0.9405 GB, free: 11.79 MB / 0.7137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002776/0.01357, allocations: 466.8 kB / 0.941 GB, free: 11.34 MB / 0.7137 GB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.01487, allocations: 2.322 MB / 0.9433 GB, free: 9.008 MB / 0.7137 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.01487, allocations: 0 / 0.9433 GB, free: 9.008 MB / 0.7137 GB Notification: Performance of FrontEnd: time 8.72e-07/0.01487, allocations: 4 kB / 0.9433 GB, free: 9.004 MB / 0.7137 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.01488, allocations: 0.5938 kB / 0.9433 GB, free: 9.004 MB / 0.7137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002288/0.01717, allocations: 1.882 MB / 0.9451 GB, free: 7.051 MB / 0.7137 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.01721, allocations: 11.98 kB / 0.9451 GB, free: 7.039 MB / 0.7137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/0.01737, allocations: 141.7 kB / 0.9452 GB, free: 6.891 MB / 0.7137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/0.01763, allocations: 161 kB / 0.9454 GB, free: 6.734 MB / 0.7137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.01869, allocations: 0.9637 MB / 0.9463 GB, free: 5.742 MB / 0.7137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.01874, allocations: 70.72 kB / 0.9464 GB, free: 5.676 MB / 0.7137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.642e-05/0.01882, allocations: 95.98 kB / 0.9465 GB, free: 5.582 MB / 0.7137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.02007, allocations: 1.307 MB / 0.9478 GB, free: 4.164 MB / 0.7137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.02009, allocations: 7.875 kB / 0.9478 GB, free: 4.156 MB / 0.7137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/0.02015, allocations: 36.66 kB / 0.9478 GB, free: 4.121 MB / 0.7137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.02016, allocations: 20 kB / 0.9478 GB, free: 4.102 MB / 0.7137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.02129, allocations: 0.7621 MB / 0.9486 GB, free: 3.348 MB / 0.7137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/0.02403, allocations: 2.317 MB / 0.9508 GB, free: 0.9727 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009299/0.02496, allocations: 0.5909 MB / 0.9514 GB, free: 384 kB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004402/0.0254, allocations: 290.1 kB / 0.9517 GB, free: 92 kB / 0.7137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.02544, allocations: 8.5 kB / 0.9517 GB, free: 80 kB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006559/0.02609, allocations: 0.4978 MB / 0.9522 GB, free: 15.57 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=62): time 2.334e-06/0.02609, allocations: 0 / 0.9522 GB, free: 15.57 MB / 0.7293 GB Notification: Performance of matching and sorting (n=62): time 0.001479/0.02757, allocations: 0.9803 MB / 0.9532 GB, free: 14.59 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/0.02766, allocations: 259.8 kB / 0.9534 GB, free: 14.28 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009401/0.0286, allocations: 1.163 MB / 0.9545 GB, free: 13.09 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 6.173e-05/0.02866, allocations: 69.69 kB / 0.9546 GB, free: 13.02 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.02895, allocations: 0.5281 MB / 0.9551 GB, free: 12.48 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 9.708e-05/0.02904, allocations: 174.7 kB / 0.9553 GB, free: 12.31 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.02922, allocations: 194.6 kB / 0.9555 GB, free: 12.11 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 8.351e-05/0.02931, allocations: 334 kB / 0.9558 GB, free: 11.78 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006022/0.02991, allocations: 0.5484 MB / 0.9563 GB, free: 11.19 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009646/0.03087, allocations: 0.892 MB / 0.9572 GB, free: 10.15 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009312/0.0318, allocations: 0.8466 MB / 0.958 GB, free: 9.215 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.03181, allocations: 0 / 0.958 GB, free: 9.215 MB / 0.7293 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001404/0.03321, allocations: 1.387 MB / 0.9594 GB, free: 7.738 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 7.515e-05/0.03329, allocations: 203.9 kB / 0.9596 GB, free: 7.496 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.03329, allocations: 4 kB / 0.9596 GB, free: 7.492 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.03331, allocations: 11.94 kB / 0.9596 GB, free: 7.48 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.03359, allocations: 123.7 kB / 0.9597 GB, free: 7.359 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.0336, allocations: 11.98 kB / 0.9597 GB, free: 7.348 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004395/0.03404, allocations: 175.4 kB / 0.9599 GB, free: 7.176 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.03408, allocations: 32 kB / 0.9599 GB, free: 7.145 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 83 (safCtr.opeEnv.disErr.y,$PRE.safCtr.opeEnv.disErr.y,safCtr.antFre.disErr.y,$PRE.safCtr.antFre.disErr.y,safCtr.minVolFloRatSaf.disErr.y,$PRE.safCtr.minVolFloRatSaf.disErr.y,mEvaEmu_flow.count,$PRE.mEvaEmu_flow.count,mEvaEmu_flow.T_start,$PRE.mEvaEmu_flow.T_start,mConEmu_flow.count,$PRE.mConEmu_flow.count,mConEmu_flow.T_start,$PRE.mConEmu_flow.T_start,TEvaInEmu.count,$PRE.TEvaInEmu.count,TEvaInEmu.T_start,$PRE.TEvaInEmu.T_start,TConOutEmu.count,$PRE.TConOutEmu.count,TConOutEmu.T_start,$PRE.TConOutEmu.T_start,TEvaOutEmu.count,$PRE.TEvaOutEmu.count,TEvaOutEmu.T_start,$PRE.TEvaOutEmu.T_start,TConInEmu.count,$PRE.TConInEmu.count,TConInEmu.T_start,$PRE.TConInEmu.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,safCtr.andCanOpe.y,safCtr.andCanOpe.u[3],safCtr.andCanOpe.u[1],safCtr.ySetOn.y,$PRE.safCtr.ySetOn.y,safCtr.minVolFloRatSaf.hysEva.y,$PRE.safCtr.minVolFloRatSaf.hysEva.y,safCtr.minVolFloRatSaf.hysCon.y,$PRE.safCtr.minVolFloRatSaf.hysCon.y,safCtr.minVolFloRatSaf.errAndSetOn.y,safCtr.antFre.hys.y,$PRE.safCtr.antFre.hys.y,safCtr.antFre.errAndSetOn.y,safCtr.opeEnv.bouMapCoo.hysBou.y,$PRE.safCtr.opeEnv.bouMapCoo.hysBou.y,safCtr.opeEnv.bouMapCoo.hysRig.y,$PRE.safCtr.opeEnv.bouMapCoo.hysRig.y,safCtr.opeEnv.bouMapCoo.hysLef.y,$PRE.safCtr.opeEnv.bouMapCoo.hysLef.y,safCtr.opeEnv.bouMapCoo.noErr,safCtr.opeEnv.bouMapHea.hysBou.y,$PRE.safCtr.opeEnv.bouMapHea.hysBou.y,safCtr.opeEnv.bouMapHea.hysRig.y,$PRE.safCtr.opeEnv.bouMapHea.hysRig.y,safCtr.opeEnv.bouMapHea.hysLef.y,$PRE.safCtr.opeEnv.bouMapHea.hysLef.y,safCtr.opeEnv.errAndSetOn.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,conHea.y,safCtr.minVolFloRatSaf.intConOne.y,safCtr.minVolFloRatSaf.disErr.local_set,safCtr.minVolFloRatSaf.disErr.local_reset,safCtr.antFre.intConOne.y,safCtr.antFre.disErr.local_set,safCtr.antFre.disErr.local_reset,safCtr.opeEnv.intConOne.y,safCtr.opeEnv.disErr.local_set,safCtr.opeEnv.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 7 * 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.0003268/0.03441, allocations: 381.7 kB / 0.9603 GB, free: 6.754 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.194e-05/0.0345, allocations: 107.3 kB / 0.9604 GB, free: 6.648 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.0356, allocations: 0.7689 MB / 0.9611 GB, free: 5.867 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.03561, allocations: 11.94 kB / 0.9611 GB, free: 5.855 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.03562, allocations: 0 / 0.9611 GB, free: 5.855 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.03562, allocations: 7.969 kB / 0.9611 GB, free: 5.848 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.03747, allocations: 1.655 MB / 0.9628 GB, free: 4.141 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.03748, allocations: 0 / 0.9628 GB, free: 4.141 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.03766, allocations: 83.84 kB / 0.9628 GB, free: 4.059 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.03767, allocations: 4 kB / 0.9628 GB, free: 4.055 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.03769, allocations: 15.97 kB / 0.9629 GB, free: 4.039 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.0377, allocations: 7.938 kB / 0.9629 GB, free: 4.031 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.0377, allocations: 0 / 0.9629 GB, free: 4.031 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.03872, allocations: 0.8457 MB / 0.9637 GB, free: 3.176 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.03883, allocations: 131.2 kB / 0.9638 GB, free: 3.047 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.181e-05/0.03893, allocations: 32 kB / 0.9639 GB, free: 3.016 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006322/0.03956, allocations: 115.8 kB / 0.964 GB, free: 2.902 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/0.03978, allocations: 164.2 kB / 0.9641 GB, free: 2.742 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.03982, allocations: 23.97 kB / 0.9641 GB, free: 2.719 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 0.000634/0.04045, allocations: 0.7697 MB / 0.9649 GB, free: 1.938 MB / 0.7293 GB Notification: Performance of sort global known variables: time 7e-08/0.04045, allocations: 0 / 0.9649 GB, free: 1.938 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.0004029/0.04085, allocations: 247.5 kB / 0.9651 GB, free: 1.695 MB / 0.7293 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 45 (safCtr.opeEnv.errAndSetOn.y,safCtr.antFre.errAndSetOn.y,safCtr.minVolFloRatSaf.errAndSetOn.y,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,safCtr.opeEnv.disErr.y,safCtr.opeEnv.bouMapHea.hysLef.y,safCtr.opeEnv.bouMapHea.hysRig.y,safCtr.opeEnv.bouMapHea.hysBou.y,safCtr.opeEnv.bouMapCoo.noErr,safCtr.opeEnv.bouMapCoo.hysLef.y,safCtr.opeEnv.bouMapCoo.hysRig.y,safCtr.opeEnv.bouMapCoo.hysBou.y,safCtr.antFre.disErr.y,safCtr.antFre.hys.y,safCtr.minVolFloRatSaf.disErr.y,safCtr.minVolFloRatSaf.hysCon.y,safCtr.minVolFloRatSaf.hysEva.y,safCtr.ySetOn.y,safCtr.andCanOpe.u[1],safCtr.andCanOpe.u[3],safCtr.andCanOpe.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count,TConOutEmu.T_start,TConOutEmu.count,TEvaInEmu.T_start,TEvaInEmu.count,mConEmu_flow.T_start,mConEmu_flow.count,mEvaEmu_flow.T_start,mEvaEmu_flow.count) * Number of discrete states: 21 (ySetPul.count,TConInEmu.count,TEvaOutEmu.count,TConOutEmu.count,TEvaInEmu.count,mConEmu_flow.count,mEvaEmu_flow.count,safCtr.ySetOn.y,safCtr.minVolFloRatSaf.hysEva.y,safCtr.minVolFloRatSaf.hysCon.y,safCtr.minVolFloRatSaf.disErr.y,safCtr.antFre.hys.y,safCtr.antFre.disErr.y,safCtr.opeEnv.bouMapCoo.hysBou.y,safCtr.opeEnv.bouMapCoo.hysRig.y,safCtr.opeEnv.bouMapCoo.hysLef.y,safCtr.opeEnv.bouMapHea.hysBou.y,safCtr.opeEnv.bouMapHea.hysRig.y,safCtr.opeEnv.bouMapHea.hysLef.y,safCtr.opeEnv.disErr.y,hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.002371/0.04322, allocations: 2.089 MB / 0.9672 GB, free: 15.76 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.04454, allocations: 1.325 MB / 0.9685 GB, free: 14.3 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.04454, allocations: 0.875 kB / 0.9685 GB, free: 14.3 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.000513/0.04506, allocations: 346.6 kB / 0.9688 GB, free: 13.96 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006759/0.04573, allocations: 256.5 kB / 0.969 GB, free: 13.73 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/0.05574, allocations: 9.858 MB / 0.9787 GB, free: 3.445 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.05607, allocations: 497.5 kB / 0.9791 GB, free: 2.922 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.0003244/0.05639, allocations: 143.2 kB / 0.9793 GB, free: 2.777 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004383/0.05683, allocations: 440.3 kB / 0.9797 GB, free: 2.348 MB / 0.7449 GB Notification: Performance of SimCode: time 9.11e-07/0.05683, allocations: 0 / 0.9797 GB, free: 2.348 MB / 0.7449 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03527/0.0921, allocations: 28.55 MB / 1.008 GB, free: 6.117 MB / 0.7762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.036, allocations: 5.438 kB / 1.008 GB, free: 6.113 MB / 0.7762 GB " [Timeout remaining time 652] (rm -f AixLib_AixLib.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe ; mkfifo AixLib_AixLib.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe >> ../files/AixLib_AixLib.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 1 AixLib_AixLib_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_Safety.fmu > AixLib_AixLib.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.089052613824606] Failed to read output from testmodel.py, exit status != 0: 8.150098917074502 8.159881066 8.143262985 Calling exit ...