Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.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.0008263/0.0008263, 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.0009164/0.0009164, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.8626/0.8626, allocations: 230.6 MB / 256 MB, free: 9.617 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.03547/0.03547, allocations: 12.19 MB / 324.6 MB, free: 6.199 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.0004294/0.0004294, allocations: 31.94 kB / 384.1 MB, free: 10.62 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.553/1.553, allocations: 353.8 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.Validation.Max,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Max",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.001353/0.001353, allocations: 125 kB / 1.06 GB, free: 24.88 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2095, allocations: 134.9 MB / 1.192 GB, free: 7.484 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Max): time 0.001493/0.211, allocations: 0.6885 MB / 1.192 GB, free: 6.797 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000728/0.2117, allocations: 0.8398 MB / 1.193 GB, free: 5.945 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.2117, allocations: 0 / 1.193 GB, free: 5.945 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.2118, allocations: 3.938 kB / 1.193 GB, free: 5.941 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.459e-05/0.2118, allocations: 7.938 kB / 1.193 GB, free: 5.934 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.2122, allocations: 15.98 kB / 1.193 GB, free: 5.918 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.329e-05/0.2123, allocations: 39.91 kB / 1.193 GB, free: 5.879 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2124, allocations: 8 kB / 1.193 GB, free: 5.871 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.28e-05/0.2124, allocations: 19.92 kB / 1.193 GB, free: 5.852 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.356e-05/0.2125, allocations: 19.91 kB / 1.193 GB, free: 5.832 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.2125, allocations: 4 kB / 1.193 GB, free: 5.828 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.037e-05/0.2125, allocations: 4 kB / 1.193 GB, free: 5.824 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.2125, allocations: 11.92 kB / 1.193 GB, free: 5.812 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.2126, allocations: 15.88 kB / 1.193 GB, free: 5.797 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.942e-05/0.2127, allocations: 44.03 kB / 1.193 GB, free: 5.754 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.2127, allocations: 8 kB / 1.193 GB, free: 5.746 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2127, allocations: 0 / 1.193 GB, free: 5.746 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.2127, allocations: 0 / 1.193 GB, free: 5.746 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003789/0.2131, allocations: 286.2 kB / 1.194 GB, free: 5.434 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.2131, allocations: 8.031 kB / 1.194 GB, free: 5.426 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.863e-05/0.2131, allocations: 34.75 kB / 1.194 GB, free: 5.383 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.322e-05/0.2131, allocations: 8.891 kB / 1.194 GB, free: 5.375 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.905e-05/0.2132, allocations: 118.5 kB / 1.194 GB, free: 5.234 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.2132, allocations: 384 / 1.194 GB, free: 5.234 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.2132, allocations: 4.375 kB / 1.194 GB, free: 5.23 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.2134, allocations: 74.2 kB / 1.194 GB, free: 5.152 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2134, allocations: 3.938 kB / 1.194 GB, free: 5.148 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.2134, allocations: 0 / 1.194 GB, free: 5.148 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.2134, allocations: 3.938 kB / 1.194 GB, free: 5.145 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.2136, allocations: 63.92 kB / 1.194 GB, free: 5.082 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.2139, allocations: 232 kB / 1.194 GB, free: 4.812 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.214, allocations: 62.47 kB / 1.194 GB, free: 4.742 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.297e-05/0.2141, allocations: 32.92 kB / 1.194 GB, free: 4.707 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.2141, allocations: 4 kB / 1.194 GB, free: 4.703 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.2141, allocations: 34.5 kB / 1.194 GB, free: 4.66 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2141, allocations: 0 / 1.194 GB, free: 4.66 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0003031/0.2144, allocations: 129.6 kB / 1.194 GB, free: 4.527 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.2144, allocations: 51.41 kB / 1.195 GB, free: 4.465 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.031e-05/0.2145, allocations: 109.8 kB / 1.195 GB, free: 4.348 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.2145, allocations: 29.7 kB / 1.195 GB, free: 4.312 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.2145, allocations: 84.09 kB / 1.195 GB, free: 4.227 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.2146, allocations: 15.94 kB / 1.195 GB, free: 4.211 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.2146, allocations: 17.72 kB / 1.195 GB, free: 4.188 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.926e-05/0.2147, allocations: 314.8 kB / 1.195 GB, free: 3.871 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.34e-05/0.2147, allocations: 31.95 kB / 1.195 GB, free: 3.84 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.2148, allocations: 35.91 kB / 1.195 GB, free: 3.805 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.2149, allocations: 72.72 kB / 1.195 GB, free: 3.73 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2149, allocations: 4 kB / 1.195 GB, free: 3.727 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001601/0.2151, allocations: 93.91 kB / 1.195 GB, free: 3.629 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2151, allocations: 4 kB / 1.195 GB, free: 3.625 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2151, allocations: 48 / 1.195 GB, free: 3.625 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2151, allocations: 3.984 kB / 1.195 GB, free: 3.621 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.017e-05/0.2152, allocations: 23.97 kB / 1.195 GB, free: 3.598 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2152, allocations: 0 / 1.195 GB, free: 3.598 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.572e-05/0.2153, allocations: 15.94 kB / 1.195 GB, free: 3.582 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.2153, allocations: 3.938 kB / 1.195 GB, free: 3.578 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 (3): * Single equations (assignments): 3 * 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.363e-05/0.2153, allocations: 117.7 kB / 1.195 GB, free: 3.453 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.2153, allocations: 4 kB / 1.195 GB, free: 3.449 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.2155, allocations: 105.6 kB / 1.196 GB, free: 3.332 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2155, allocations: 0 / 1.196 GB, free: 3.332 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2155, allocations: 0 / 1.196 GB, free: 3.332 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2155, allocations: 0 / 1.196 GB, free: 3.332 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.2156, allocations: 144.6 kB / 1.196 GB, free: 3.148 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2156, allocations: 0 / 1.196 GB, free: 3.148 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.2157, allocations: 15.98 kB / 1.196 GB, free: 3.133 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2157, allocations: 4 kB / 1.196 GB, free: 3.129 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.2157, allocations: 0 / 1.196 GB, free: 3.129 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2157, allocations: 3.938 kB / 1.196 GB, free: 3.125 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2157, allocations: 4 kB / 1.196 GB, free: 3.121 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.2159, allocations: 207.3 kB / 1.196 GB, free: 2.902 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-06/0.2159, allocations: 0 / 1.196 GB, free: 2.902 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.2159, allocations: 0 / 1.196 GB, free: 2.902 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.978e-05/0.2159, allocations: 11.98 kB / 1.196 GB, free: 2.891 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.216, allocations: 11.98 kB / 1.196 GB, free: 2.879 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.216, allocations: 0 / 1.196 GB, free: 2.879 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.606e-05/0.216, allocations: 83.28 kB / 1.196 GB, free: 2.797 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.216, allocations: 4 kB / 1.196 GB, free: 2.793 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001383/0.2161, allocations: 8 kB / 1.196 GB, free: 2.785 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 (3): * Single equations (assignments): 3 * 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.000362/0.2165, allocations: 0.7279 MB / 1.197 GB, free: 2.031 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001798/0.2167, allocations: 71.92 kB / 1.197 GB, free: 1.961 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2167, allocations: 0 / 1.197 GB, free: 1.961 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.218e-05/0.2168, allocations: 35.95 kB / 1.197 GB, free: 1.926 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.217, allocations: 4 kB / 1.197 GB, free: 1.922 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.2173, allocations: 163 kB / 1.197 GB, free: 1.723 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.987e-05/0.2173, allocations: 67.34 kB / 1.197 GB, free: 1.637 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.443e-05/0.2174, allocations: 4 kB / 1.197 GB, free: 1.633 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.2174, allocations: 11.44 kB / 1.197 GB, free: 1.621 MB / 0.823 GB Notification: Performance of SimCode: time 4.31e-07/0.2174, allocations: 0 / 1.197 GB, free: 1.621 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.231, allocations: 2.198 MB / 1.199 GB, free: 15.56 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.893/6.124, allocations: 1.891 kB / 1.199 GB, free: 15.56 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Max.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.136754969134927] Failed to read output from testmodel.py, exit status != 0: 6.1987655172124505 6.210765734 5.996095871 Calling exit ...