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.0009069/0.0009069, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009393/0.0009393, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9626/0.9626, allocations: 230.6 MB / 256 MB, free: 9.812 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.03851/0.03851, allocations: 12.17 MB / 324.6 MB, free: 6.301 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.0006007/0.0006007, allocations: 27.95 kB / 384.1 MB, free: 10.7 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.783/1.783, allocations: 353.8 MB / 0.7787 GB, free: 3.129 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.001487/0.001487, allocations: 116.4 kB / 1.06 GB, free: 25.1 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2298, allocations: 134.9 MB / 1.192 GB, free: 7.883 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001693/0.2315, allocations: 0.5738 MB / 1.192 GB, free: 7.312 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 5.116e-05/0.2315, allocations: 7.938 kB / 1.192 GB, free: 7.305 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.174e-05/0.2315, allocations: 0 / 1.192 GB, free: 7.305 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.2316, allocations: 0 / 1.192 GB, free: 7.305 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.626e-05/0.2316, allocations: 0 / 1.192 GB, free: 7.305 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 3.615e-05/0.2316, allocations: 7.984 kB / 1.192 GB, free: 7.297 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.858e-05/0.2317, allocations: 0 / 1.192 GB, free: 7.297 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.902e-05/0.2318, allocations: 4 kB / 1.192 GB, free: 7.293 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.203e-05/0.2318, allocations: 3.938 kB / 1.192 GB, free: 7.289 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 2.383e-05/0.2318, allocations: 0 / 1.192 GB, free: 7.289 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.2318, allocations: 0 / 1.192 GB, free: 7.289 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-06/0.2318, allocations: 0 / 1.192 GB, free: 7.289 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.2318, allocations: 0 / 1.192 GB, free: 7.289 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.2319, allocations: 4 kB / 1.192 GB, free: 7.285 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 7.277e-05/0.232, allocations: 0 / 1.192 GB, free: 7.285 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.232, allocations: 4 kB / 1.192 GB, free: 7.281 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.184e-06/0.232, allocations: 4 kB / 1.192 GB, free: 7.277 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.232, allocations: 0 / 1.192 GB, free: 7.277 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.0002695/0.2322, allocations: 234.5 kB / 1.193 GB, free: 7.016 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.2323, allocations: 8.031 kB / 1.193 GB, free: 7.008 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.2323, allocations: 30.75 kB / 1.193 GB, free: 6.969 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.988e-05/0.2323, allocations: 0.9375 kB / 1.193 GB, free: 6.969 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.831e-05/0.2324, allocations: 102.8 kB / 1.193 GB, free: 6.844 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.2324, allocations: 8.312 kB / 1.193 GB, free: 6.836 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.2324, allocations: 4.375 kB / 1.193 GB, free: 6.832 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.385e-05/0.2325, allocations: 30.27 kB / 1.193 GB, free: 6.797 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2325, allocations: 3.938 kB / 1.193 GB, free: 6.793 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.2325, allocations: 0 / 1.193 GB, free: 6.793 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.2325, allocations: 3.984 kB / 1.193 GB, free: 6.789 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.762e-05/0.2326, allocations: 7.938 kB / 1.193 GB, free: 6.781 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001064/0.2327, allocations: 116.8 kB / 1.193 GB, free: 6.625 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.872e-05/0.2327, allocations: 26.55 kB / 1.193 GB, free: 6.59 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.431e-05/0.2327, allocations: 12.8 kB / 1.193 GB, free: 6.574 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.2327, allocations: 0 / 1.193 GB, free: 6.574 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.2328, allocations: 30.62 kB / 1.193 GB, free: 6.535 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.2328, allocations: 4 kB / 1.193 GB, free: 6.531 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001228/0.2329, allocations: 33.64 kB / 1.193 GB, free: 6.492 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.2329, allocations: 55.39 kB / 1.193 GB, free: 6.426 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.762e-05/0.2329, allocations: 89.86 kB / 1.193 GB, free: 6.328 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.233, allocations: 29.7 kB / 1.193 GB, free: 6.293 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.924e-05/0.233, allocations: 88.25 kB / 1.193 GB, free: 6.203 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.233, allocations: 3.938 kB / 1.193 GB, free: 6.199 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/0.233, allocations: 13.72 kB / 1.193 GB, free: 6.18 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.787e-05/0.2331, allocations: 315.2 kB / 1.194 GB, free: 5.863 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.2331, allocations: 0 / 1.194 GB, free: 5.863 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-06/0.2331, allocations: 0 / 1.194 GB, free: 5.863 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.183e-05/0.2332, allocations: 12.86 kB / 1.194 GB, free: 5.848 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2332, allocations: 4.062 kB / 1.194 GB, free: 5.844 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.77e-05/0.2332, allocations: 33.69 kB / 1.194 GB, free: 5.805 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2332, allocations: 8 kB / 1.194 GB, free: 5.797 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2332, allocations: 3.938 kB / 1.194 GB, free: 5.793 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.2333, allocations: 0 / 1.194 GB, free: 5.793 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.019e-05/0.2333, allocations: 0 / 1.194 GB, free: 5.793 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2333, allocations: 0 / 1.194 GB, free: 5.793 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.927e-06/0.2333, allocations: 7.938 kB / 1.194 GB, free: 5.785 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.2333, allocations: 0 / 1.194 GB, free: 5.785 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 5.682e-05/0.2334, allocations: 109.9 kB / 1.194 GB, free: 5.668 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-06/0.2334, allocations: 0 / 1.194 GB, free: 5.668 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.771e-05/0.2334, allocations: 6.938 kB / 1.194 GB, free: 5.664 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2334, allocations: 0 / 1.194 GB, free: 5.664 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2334, allocations: 4 kB / 1.194 GB, free: 5.66 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.2334, allocations: 0 / 1.194 GB, free: 5.66 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.269e-05/0.2335, allocations: 120.8 kB / 1.194 GB, free: 5.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2335, allocations: 0 / 1.194 GB, free: 5.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.347e-06/0.2335, allocations: 4 kB / 1.194 GB, free: 5.496 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.2335, allocations: 4 kB / 1.194 GB, free: 5.492 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.2335, allocations: 3.938 kB / 1.194 GB, free: 5.488 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.2335, allocations: 4 kB / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2335, allocations: 3.938 kB / 1.194 GB, free: 5.48 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.857e-05/0.2336, allocations: 57.12 kB / 1.194 GB, free: 5.406 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-06/0.2336, allocations: 8 kB / 1.194 GB, free: 5.398 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.2336, allocations: 7.875 kB / 1.194 GB, free: 5.391 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.937e-06/0.2336, allocations: 0 / 1.194 GB, free: 5.391 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.2336, allocations: 3.938 kB / 1.194 GB, free: 5.387 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.2336, allocations: 4.031 kB / 1.194 GB, free: 5.383 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.503e-05/0.2336, allocations: 79.28 kB / 1.194 GB, free: 5.305 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2336, allocations: 0 / 1.194 GB, free: 5.305 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000117/0.2337, allocations: 4 kB / 1.194 GB, free: 5.301 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.0003212/0.2341, allocations: 0.5968 MB / 1.195 GB, free: 4.672 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.463e-05/0.2341, allocations: 0 / 1.195 GB, free: 4.672 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2341, allocations: 3.938 kB / 1.195 GB, free: 4.668 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.2342, allocations: 4 kB / 1.195 GB, free: 4.664 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.2343, allocations: 0 / 1.195 GB, free: 4.664 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.2346, allocations: 115.2 kB / 1.195 GB, free: 4.508 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.2348, allocations: 0.669 MB / 1.195 GB, free: 3.812 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.373e-05/0.2348, allocations: 0 / 1.195 GB, free: 3.812 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.2349, allocations: 11.56 kB / 1.195 GB, free: 3.801 MB / 0.823 GB Notification: Performance of SimCode: time 7.01e-07/0.2349, allocations: 0 / 1.195 GB, free: 3.801 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.2525, allocations: 1.021 MB / 1.196 GB, free: 2.906 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.681/6.934, allocations: 9.938 kB / 1.196 GB, free: 2.902 MB / 0.823 GB " [Timeout remaining time 653] (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: 11.573938065208495] Failed to read output from testmodel.py, exit status != 0: 7.010774281807244 7.027579652 6.792222647 Calling exit ...