Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.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.0008275/0.0008275, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001046/0.001046, allocations: 213.9 kB / 22.25 MB, free: 3.578 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.8843/0.8843, allocations: 230.6 MB / 256 MB, free: 9.578 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.03782/0.03782, allocations: 12.19 MB / 324.6 MB, free: 6.082 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.0004143/0.0004143, allocations: 35.92 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.566/1.566, allocations: 353.8 MB / 0.7787 GB, free: 4.582 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.Integers.Validation.Min,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Min",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.001497/0.001497, allocations: 127.3 kB / 1.06 GB, free: 24.76 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1986, allocations: 134.9 MB / 1.192 GB, free: 7.52 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Min): time 0.001416/0.2, allocations: 0.729 MB / 1.192 GB, free: 6.793 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007458/0.2007, allocations: 0.8938 MB / 1.193 GB, free: 5.887 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.988e-05/0.2008, allocations: 0 / 1.193 GB, free: 5.887 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.2008, allocations: 3.938 kB / 1.193 GB, free: 5.883 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.214e-05/0.2009, allocations: 7.875 kB / 1.193 GB, free: 5.875 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.201, allocations: 51.94 kB / 1.193 GB, free: 5.824 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.698e-05/0.2011, allocations: 79.83 kB / 1.193 GB, free: 5.746 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2012, allocations: 19.98 kB / 1.193 GB, free: 5.727 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.95e-05/0.2013, allocations: 43.83 kB / 1.193 GB, free: 5.684 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.611e-05/0.2013, allocations: 43.83 kB / 1.194 GB, free: 5.641 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.2014, allocations: 8 kB / 1.194 GB, free: 5.633 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.2014, allocations: 8 kB / 1.194 GB, free: 5.625 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.2014, allocations: 19.91 kB / 1.194 GB, free: 5.605 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.2014, allocations: 39.73 kB / 1.194 GB, free: 5.566 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.2015, allocations: 79.95 kB / 1.194 GB, free: 5.488 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2015, allocations: 4 kB / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2015, allocations: 4 kB / 1.194 GB, free: 5.48 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.2015, allocations: 0 / 1.194 GB, free: 5.48 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000413/0.202, allocations: 318 kB / 1.194 GB, free: 5.141 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.202, allocations: 8.031 kB / 1.194 GB, free: 5.133 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.156e-05/0.202, allocations: 46.67 kB / 1.194 GB, free: 5.078 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.2021, allocations: 8.891 kB / 1.194 GB, free: 5.07 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.424e-05/0.2021, allocations: 118.4 kB / 1.194 GB, free: 4.93 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.2022, allocations: 8.375 kB / 1.194 GB, free: 4.922 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.2022, allocations: 12.12 kB / 1.194 GB, free: 4.91 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.2024, allocations: 101.6 kB / 1.194 GB, free: 4.805 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2024, allocations: 3.984 kB / 1.194 GB, free: 4.801 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.2024, allocations: 4 kB / 1.194 GB, free: 4.797 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2024, allocations: 0 / 1.194 GB, free: 4.797 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.2026, allocations: 95.91 kB / 1.194 GB, free: 4.703 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.2029, allocations: 307.7 kB / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.2033, allocations: 114.6 kB / 1.195 GB, free: 4.238 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.896e-05/0.2034, allocations: 52.81 kB / 1.195 GB, free: 4.184 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.2034, allocations: 3.984 kB / 1.195 GB, free: 4.18 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.2034, allocations: 38.5 kB / 1.195 GB, free: 4.133 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.2034, allocations: 0 / 1.195 GB, free: 4.133 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0003733/0.2038, allocations: 185.5 kB / 1.195 GB, free: 3.945 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.2038, allocations: 55.41 kB / 1.195 GB, free: 3.879 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.193e-05/0.2039, allocations: 125.8 kB / 1.195 GB, free: 3.746 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.2039, allocations: 25.7 kB / 1.195 GB, free: 3.715 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.204, allocations: 101.5 kB / 1.195 GB, free: 3.613 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.204, allocations: 19.8 kB / 1.195 GB, free: 3.594 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.204, allocations: 29.7 kB / 1.195 GB, free: 3.559 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.2041, allocations: 314.8 kB / 1.196 GB, free: 3.242 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.383e-05/0.2042, allocations: 43.95 kB / 1.196 GB, free: 3.199 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.99e-05/0.2043, allocations: 51.89 kB / 1.196 GB, free: 3.148 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.2045, allocations: 100.7 kB / 1.196 GB, free: 3.047 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2045, allocations: 0 / 1.196 GB, free: 3.047 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002133/0.2047, allocations: 141.5 kB / 1.196 GB, free: 2.902 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.2047, allocations: 4 kB / 1.196 GB, free: 2.898 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2047, allocations: 0 / 1.196 GB, free: 2.898 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2047, allocations: 0 / 1.196 GB, free: 2.898 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.094e-05/0.2048, allocations: 31.97 kB / 1.196 GB, free: 2.867 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2048, allocations: 3.938 kB / 1.196 GB, free: 2.863 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.2048, allocations: 15.98 kB / 1.196 GB, free: 2.848 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.2048, allocations: 3.938 kB / 1.196 GB, free: 2.844 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: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.464e-05/0.2049, allocations: 121.8 kB / 1.196 GB, free: 2.715 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.2049, allocations: 7.953 kB / 1.196 GB, free: 2.707 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.2052, allocations: 149.9 kB / 1.196 GB, free: 2.551 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2052, allocations: 4 kB / 1.196 GB, free: 2.547 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.2052, allocations: 3.938 kB / 1.196 GB, free: 2.543 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2052, allocations: 0 / 1.196 GB, free: 2.543 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.2053, allocations: 156.7 kB / 1.196 GB, free: 2.348 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2053, allocations: 0 / 1.196 GB, free: 2.348 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.797e-05/0.2054, allocations: 27.97 kB / 1.197 GB, free: 2.32 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2054, allocations: 7.938 kB / 1.197 GB, free: 2.312 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.2054, allocations: 0 / 1.197 GB, free: 2.312 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2054, allocations: 4 kB / 1.197 GB, free: 2.309 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2054, allocations: 3.938 kB / 1.197 GB, free: 2.305 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.2057, allocations: 227.4 kB / 1.197 GB, free: 2.066 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.2057, allocations: 11.89 kB / 1.197 GB, free: 2.055 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.2057, allocations: 4 kB / 1.197 GB, free: 2.051 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.45e-05/0.2057, allocations: 19.97 kB / 1.197 GB, free: 2.031 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.2058, allocations: 31.91 kB / 1.197 GB, free: 2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.2058, allocations: 0 / 1.197 GB, free: 2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.719e-05/0.2058, allocations: 95.27 kB / 1.197 GB, free: 1.906 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2058, allocations: 0 / 1.197 GB, free: 1.906 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001512/0.206, allocations: 16 kB / 1.197 GB, free: 1.891 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: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0004534/0.2064, allocations: 0.7676 MB / 1.198 GB, free: 1.098 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.2067, allocations: 115.9 kB / 1.198 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2067, allocations: 0 / 1.198 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.2068, allocations: 59.89 kB / 1.198 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.207, allocations: 18.92 kB / 1.198 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.2083, allocations: 1.529 MB / 1.199 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.721e-05/0.2083, allocations: 83.08 kB / 1.199 GB, free: 15.2 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.276e-05/0.2084, allocations: 15.98 kB / 1.199 GB, free: 15.18 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.959e-05/0.2084, allocations: 31.42 kB / 1.199 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of SimCode: time 6.21e-07/0.2084, allocations: 0 / 1.199 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/0.2224, allocations: 3.357 MB / 1.203 GB, free: 11.94 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.931/6.154, allocations: 9.203 kB / 1.203 GB, free: 11.94 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min_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_Integers_Validation_Min.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.20700575131923] Failed to read output from testmodel.py, exit status != 0: 6.227383245714009 6.234308835 6.031330151 Calling exit ...