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.0008827/0.0008827, 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.0009913/0.0009913, allocations: 217.7 kB / 22.26 MB, free: 3.699 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 1.001/1.001, 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.03788/0.03788, allocations: 12.17 MB / 324.6 MB, free: 6.293 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.0006331/0.0006331, allocations: 27.94 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.775/1.775, allocations: 353.8 MB / 0.7787 GB, free: 3.145 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.001315/0.001315, allocations: 121.7 kB / 1.06 GB, free: 24.94 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2312, allocations: 134.9 MB / 1.192 GB, free: 7.871 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Min): time 0.001488/0.2327, allocations: 0.77 MB / 1.193 GB, free: 7.105 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007835/0.2335, allocations: 0.8938 MB / 1.193 GB, free: 6.199 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.2335, allocations: 0 / 1.193 GB, free: 6.199 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.2336, allocations: 7.875 kB / 1.193 GB, free: 6.191 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.305e-05/0.2336, allocations: 11.94 kB / 1.193 GB, free: 6.18 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.2338, allocations: 47.88 kB / 1.193 GB, free: 6.133 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.451e-05/0.2339, allocations: 79.83 kB / 1.194 GB, free: 6.055 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.45e-05/0.234, allocations: 23.92 kB / 1.194 GB, free: 6.031 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.399e-05/0.2341, allocations: 51.83 kB / 1.194 GB, free: 5.98 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.035e-05/0.2341, allocations: 39.84 kB / 1.194 GB, free: 5.941 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.2341, allocations: 8 kB / 1.194 GB, free: 5.934 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.2342, allocations: 8 kB / 1.194 GB, free: 5.926 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.2342, allocations: 23.95 kB / 1.194 GB, free: 5.902 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.436e-05/0.2342, allocations: 35.8 kB / 1.194 GB, free: 5.867 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.2343, allocations: 83.89 kB / 1.194 GB, free: 5.785 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2343, allocations: 0 / 1.194 GB, free: 5.785 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2343, allocations: 0 / 1.194 GB, free: 5.785 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2343, allocations: 0 / 1.194 GB, free: 5.785 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.0003998/0.2347, allocations: 326 kB / 1.194 GB, free: 5.438 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2348, allocations: 8.031 kB / 1.194 GB, free: 5.43 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.086e-05/0.2348, allocations: 42.67 kB / 1.194 GB, free: 5.379 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.2348, allocations: 12.83 kB / 1.194 GB, free: 5.367 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.12e-05/0.2349, allocations: 118.5 kB / 1.194 GB, free: 5.227 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.2349, allocations: 8.375 kB / 1.194 GB, free: 5.219 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.2349, allocations: 4.125 kB / 1.194 GB, free: 5.215 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.2351, allocations: 105.6 kB / 1.194 GB, free: 5.105 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.2351, allocations: 0 / 1.194 GB, free: 5.105 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.2351, allocations: 4 kB / 1.194 GB, free: 5.102 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.2351, allocations: 7.984 kB / 1.194 GB, free: 5.094 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.2353, allocations: 99.83 kB / 1.194 GB, free: 4.996 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.2357, allocations: 311.7 kB / 1.195 GB, free: 4.648 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.236, allocations: 114.5 kB / 1.195 GB, free: 4.527 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.2361, allocations: 56.88 kB / 1.195 GB, free: 4.469 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.2362, allocations: 7.984 kB / 1.195 GB, free: 4.461 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.2362, allocations: 34.55 kB / 1.195 GB, free: 4.418 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.2362, allocations: 0 / 1.195 GB, free: 4.418 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0003618/0.2365, allocations: 177.5 kB / 1.195 GB, free: 4.238 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.2366, allocations: 59.34 kB / 1.195 GB, free: 4.168 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.829e-05/0.2366, allocations: 133.6 kB / 1.195 GB, free: 4.027 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.2367, allocations: 25.7 kB / 1.195 GB, free: 3.996 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.969e-05/0.2367, allocations: 96.09 kB / 1.195 GB, free: 3.898 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.2367, allocations: 23.78 kB / 1.195 GB, free: 3.875 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.2367, allocations: 25.7 kB / 1.196 GB, free: 3.844 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.764e-05/0.2368, allocations: 314.8 kB / 1.196 GB, free: 3.527 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.314e-05/0.2369, allocations: 47.95 kB / 1.196 GB, free: 3.48 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.73e-05/0.237, allocations: 49.38 kB / 1.196 GB, free: 3.434 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.2372, allocations: 96.75 kB / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2372, allocations: 4 kB / 1.196 GB, free: 3.332 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002066/0.2374, allocations: 141.5 kB / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.2374, allocations: 7.984 kB / 1.196 GB, free: 3.18 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2374, allocations: 4 kB / 1.196 GB, free: 3.176 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.2374, allocations: 0 / 1.196 GB, free: 3.176 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.757e-05/0.2375, allocations: 23.97 kB / 1.196 GB, free: 3.152 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2375, allocations: 3.938 kB / 1.196 GB, free: 3.148 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.2375, allocations: 19.98 kB / 1.196 GB, free: 3.129 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.2376, allocations: 0.5469 kB / 1.196 GB, free: 3.129 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.043e-05/0.2376, allocations: 113.8 kB / 1.196 GB, free: 3.008 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.2376, allocations: 11.94 kB / 1.196 GB, free: 2.996 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.2379, allocations: 149.9 kB / 1.196 GB, free: 2.84 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2379, allocations: 4 kB / 1.196 GB, free: 2.836 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2379, allocations: 3.938 kB / 1.196 GB, free: 2.832 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2379, allocations: 0 / 1.196 GB, free: 2.832 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.238, allocations: 172.7 kB / 1.197 GB, free: 2.621 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.238, allocations: 3.938 kB / 1.197 GB, free: 2.617 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/0.2381, allocations: 23.97 kB / 1.197 GB, free: 2.594 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.2381, allocations: 0 / 1.197 GB, free: 2.594 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.2381, allocations: 0 / 1.197 GB, free: 2.594 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2381, allocations: 4.016 kB / 1.197 GB, free: 2.59 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.2381, allocations: 11.92 kB / 1.197 GB, free: 2.578 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.2383, allocations: 235.3 kB / 1.197 GB, free: 2.332 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.2383, allocations: 12.02 kB / 1.197 GB, free: 2.32 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.2384, allocations: 3.984 kB / 1.197 GB, free: 2.316 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.658e-05/0.2384, allocations: 19.98 kB / 1.197 GB, free: 2.297 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.2385, allocations: 19.91 kB / 1.197 GB, free: 2.277 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.2385, allocations: 8 kB / 1.197 GB, free: 2.27 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.517e-05/0.2385, allocations: 95.27 kB / 1.197 GB, free: 2.176 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2385, allocations: 0 / 1.197 GB, free: 2.176 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001438/0.2387, allocations: 12 kB / 1.197 GB, free: 2.164 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.0004311/0.2391, allocations: 0.7671 MB / 1.198 GB, free: 1.371 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.2393, allocations: 111.8 kB / 1.198 GB, free: 1.262 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.2393, allocations: 4 kB / 1.198 GB, free: 1.258 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.2394, allocations: 55.95 kB / 1.198 GB, free: 1.203 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.2396, allocations: 15.92 kB / 1.198 GB, free: 1.188 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.2409, allocations: 1.54 MB / 1.199 GB, free: 15.57 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.2411, allocations: 0.6885 MB / 1.2 GB, free: 14.85 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.772e-05/0.2411, allocations: 15.75 kB / 1.2 GB, free: 14.84 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.701e-05/0.2412, allocations: 31.42 kB / 1.2 GB, free: 14.8 MB / 0.8387 GB Notification: Performance of SimCode: time 4.5e-07/0.2412, allocations: 0 / 1.2 GB, free: 14.8 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.2588, allocations: 2.866 MB / 1.203 GB, free: 12.07 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.609/6.868, allocations: 3.188 kB / 1.203 GB, free: 12.07 MB / 0.8387 GB " [Timeout remaining time 653] (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: 11.631120156496763] Failed to read output from testmodel.py, exit status != 0: 6.944978442974389 6.96017357 6.723050926 Calling exit ...