Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.0007845/0.0007845, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009475/0.0009475, allocations: 212.1 kB / 22.25 MB, free: 3.727 MB / 13.93 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.8964/0.8964, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.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.03622/0.03622, allocations: 12.19 MB / 324.6 MB, free: 6.086 MB / 250.7 MB " [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.0004057/0.0004057, allocations: 31.94 kB / 384.1 MB, free: 10.5 MB / 314.7 MB " [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.532/1.532, allocations: 353.9 MB / 0.7787 GB, free: 4.559 MB / 0.5105 GB " [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.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 117.6 kB / 1.06 GB, free: 24.72 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1991, allocations: 134.9 MB / 1.192 GB, free: 7.492 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001266/0.2003, allocations: 0.5763 MB / 1.192 GB, free: 6.918 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 3.777e-05/0.2004, allocations: 4 kB / 1.192 GB, free: 6.914 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.635e-05/0.2004, allocations: 0 / 1.192 GB, free: 6.914 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.804e-05/0.2004, allocations: 0 / 1.192 GB, free: 6.914 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 2.381e-05/0.2004, allocations: 0 / 1.192 GB, free: 6.914 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 3.131e-05/0.2005, allocations: 4 kB / 1.192 GB, free: 6.91 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.265e-05/0.2005, allocations: 7.938 kB / 1.192 GB, free: 6.902 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.2006, allocations: 4 kB / 1.192 GB, free: 6.898 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.603e-05/0.2006, allocations: 0 / 1.192 GB, free: 6.898 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 1.926e-05/0.2006, allocations: 3.938 kB / 1.192 GB, free: 6.895 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.2006, allocations: 0 / 1.192 GB, free: 6.895 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.919e-06/0.2006, allocations: 0 / 1.192 GB, free: 6.895 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.2006, allocations: 0 / 1.192 GB, free: 6.895 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.2006, allocations: 0 / 1.192 GB, free: 6.895 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 5.749e-05/0.2007, allocations: 4 kB / 1.192 GB, free: 6.891 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2007, allocations: 3.984 kB / 1.192 GB, free: 6.887 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2007, allocations: 0 / 1.192 GB, free: 6.887 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2007, allocations: 4 kB / 1.192 GB, free: 6.883 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002039/0.2009, allocations: 234.5 kB / 1.193 GB, free: 6.621 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2009, allocations: 8.031 kB / 1.193 GB, free: 6.613 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.632e-05/0.201, allocations: 30.75 kB / 1.193 GB, free: 6.574 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.967e-05/0.201, allocations: 4.938 kB / 1.193 GB, free: 6.57 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.033e-05/0.201, allocations: 110.8 kB / 1.193 GB, free: 6.438 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.2011, allocations: 384 / 1.193 GB, free: 6.438 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-06/0.2011, allocations: 4.312 kB / 1.193 GB, free: 6.434 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.79e-05/0.2011, allocations: 30.25 kB / 1.193 GB, free: 6.398 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.2011, allocations: 7.938 kB / 1.193 GB, free: 6.391 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-06/0.2011, allocations: 7.938 kB / 1.193 GB, free: 6.383 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.2012, allocations: 0 / 1.193 GB, free: 6.383 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.465e-05/0.2012, allocations: 0 / 1.193 GB, free: 6.383 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.392e-05/0.2013, allocations: 120.8 kB / 1.193 GB, free: 6.223 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.359e-05/0.2013, allocations: 14.58 kB / 1.193 GB, free: 6.199 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.84e-05/0.2013, allocations: 8.922 kB / 1.193 GB, free: 6.188 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.2013, allocations: 0 / 1.193 GB, free: 6.188 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.2013, allocations: 30.56 kB / 1.193 GB, free: 6.148 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.2013, allocations: 0 / 1.193 GB, free: 6.148 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001065/0.2014, allocations: 49.56 kB / 1.193 GB, free: 6.094 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.2015, allocations: 55.34 kB / 1.193 GB, free: 6.027 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.363e-05/0.2015, allocations: 93.86 kB / 1.193 GB, free: 5.926 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.2015, allocations: 25.7 kB / 1.193 GB, free: 5.895 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.616e-05/0.2015, allocations: 80.14 kB / 1.193 GB, free: 5.812 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.2015, allocations: 3.938 kB / 1.193 GB, free: 5.809 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-05/0.2016, allocations: 9.719 kB / 1.193 GB, free: 5.793 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.942e-05/0.2016, allocations: 319.2 kB / 1.193 GB, free: 5.473 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.2016, allocations: 0 / 1.193 GB, free: 5.473 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.568e-06/0.2016, allocations: 0 / 1.193 GB, free: 5.473 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.339e-05/0.2017, allocations: 16.98 kB / 1.194 GB, free: 5.453 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.2017, allocations: 3.984 kB / 1.194 GB, free: 5.449 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.335e-05/0.2017, allocations: 33.69 kB / 1.194 GB, free: 5.41 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2017, allocations: 8 kB / 1.194 GB, free: 5.402 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.2017, allocations: 3.938 kB / 1.194 GB, free: 5.398 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.2017, allocations: 0 / 1.194 GB, free: 5.398 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.046e-05/0.2018, allocations: 0 / 1.194 GB, free: 5.398 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.2018, allocations: 0 / 1.194 GB, free: 5.398 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.733e-06/0.2018, allocations: 0 / 1.194 GB, free: 5.398 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.2018, allocations: 4 kB / 1.194 GB, free: 5.395 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 4.934e-05/0.2018, allocations: 113.9 kB / 1.194 GB, free: 5.273 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-06/0.2019, allocations: 0 / 1.194 GB, free: 5.273 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.417e-05/0.2019, allocations: 10.92 kB / 1.194 GB, free: 5.266 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2019, allocations: 0 / 1.194 GB, free: 5.266 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2019, allocations: 4 kB / 1.194 GB, free: 5.262 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.2019, allocations: 0 / 1.194 GB, free: 5.262 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.1e-05/0.2019, allocations: 112.8 kB / 1.194 GB, free: 5.109 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2019, allocations: 0 / 1.194 GB, free: 5.109 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-06/0.2019, allocations: 0 / 1.194 GB, free: 5.109 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.2019, allocations: 4 kB / 1.194 GB, free: 5.105 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.2019, allocations: 11.81 kB / 1.194 GB, free: 5.094 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.2019, allocations: 4 kB / 1.194 GB, free: 5.09 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2019, allocations: 4 kB / 1.194 GB, free: 5.086 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.611e-05/0.202, allocations: 61.12 kB / 1.194 GB, free: 5.008 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-06/0.202, allocations: 0 / 1.194 GB, free: 5.008 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-06/0.202, allocations: 3.938 kB / 1.194 GB, free: 5.004 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.337e-06/0.202, allocations: 0 / 1.194 GB, free: 5.004 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.308e-06/0.202, allocations: 3.938 kB / 1.194 GB, free: 5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.202, allocations: 4 kB / 1.194 GB, free: 4.996 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.071e-05/0.202, allocations: 79.28 kB / 1.194 GB, free: 4.918 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.202, allocations: 0 / 1.194 GB, free: 4.918 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001075/0.2021, allocations: 4.031 kB / 1.194 GB, free: 4.914 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002268/0.2024, allocations: 0.5967 MB / 1.195 GB, free: 4.285 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 5.999e-05/0.2024, allocations: 8 kB / 1.195 GB, free: 4.277 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2024, allocations: 0 / 1.195 GB, free: 4.277 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.208e-06/0.2024, allocations: 7.984 kB / 1.195 GB, free: 4.27 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.675e-05/0.2025, allocations: 1.875 kB / 1.195 GB, free: 4.27 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/0.2028, allocations: 116.9 kB / 1.195 GB, free: 4.113 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.008e-05/0.2028, allocations: 55.52 kB / 1.195 GB, free: 4.039 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.025e-05/0.2028, allocations: 0 / 1.195 GB, free: 4.039 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.2029, allocations: 15.42 kB / 1.195 GB, free: 4.023 MB / 0.823 GB Notification: Performance of SimCode: time 7.01e-07/0.2029, allocations: 0 / 1.195 GB, free: 4.023 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.2171, allocations: 1.403 MB / 1.196 GB, free: 2.742 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.859/6.077, allocations: 9.797 kB / 1.196 GB, free: 2.738 MB / 0.823 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.12299039401114] Failed to read output from testmodel.py, exit status != 0: 6.150241915136576 6.159424434 5.957213273 Calling exit ...