Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.0007827/0.0007827, 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.0008105/0.0008105, allocations: 213.8 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.9594/0.9594, allocations: 230.6 MB / 256 MB, free: 9.82 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.04015/0.04015, allocations: 12.19 MB / 324.6 MB, free: 6.289 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.0005184/0.0005184, allocations: 31.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.717/1.717, allocations: 353.8 MB / 0.7787 GB, free: 3.117 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.LessEqualThreshold,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.001375/0.001375, allocations: 120.5 kB / 1.06 GB, free: 25.04 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2395, allocations: 134.9 MB / 1.192 GB, free: 7.91 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001707/0.2413, allocations: 0.7033 MB / 1.192 GB, free: 7.211 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.2424, allocations: 0.8627 MB / 1.193 GB, free: 6.336 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.2424, allocations: 3.938 kB / 1.193 GB, free: 6.332 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.2425, allocations: 3.938 kB / 1.193 GB, free: 6.328 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.98e-05/0.2425, allocations: 19.92 kB / 1.193 GB, free: 6.309 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.2427, allocations: 19.92 kB / 1.193 GB, free: 6.289 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.514e-05/0.2428, allocations: 47.83 kB / 1.193 GB, free: 6.242 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.2429, allocations: 12 kB / 1.193 GB, free: 6.23 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.859e-05/0.243, allocations: 15.98 kB / 1.193 GB, free: 6.215 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.351e-05/0.243, allocations: 27.86 kB / 1.193 GB, free: 6.188 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.2431, allocations: 4 kB / 1.193 GB, free: 6.184 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.2431, allocations: 4 kB / 1.193 GB, free: 6.18 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.2431, allocations: 15.97 kB / 1.193 GB, free: 6.164 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.2431, allocations: 23.86 kB / 1.193 GB, free: 6.141 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.2432, allocations: 48.09 kB / 1.194 GB, free: 6.094 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2432, allocations: 0 / 1.194 GB, free: 6.094 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2432, allocations: 0 / 1.194 GB, free: 6.094 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2432, allocations: 0 / 1.194 GB, free: 6.094 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004146/0.2437, allocations: 283.5 kB / 1.194 GB, free: 5.789 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.2437, allocations: 8.031 kB / 1.194 GB, free: 5.781 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.199e-05/0.2437, allocations: 34.75 kB / 1.194 GB, free: 5.738 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.2438, allocations: 8.891 kB / 1.194 GB, free: 5.73 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.2439, allocations: 118.4 kB / 1.194 GB, free: 5.59 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2439, allocations: 4.375 kB / 1.194 GB, free: 5.586 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.2439, allocations: 8.125 kB / 1.194 GB, free: 5.578 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.244, allocations: 61.66 kB / 1.194 GB, free: 5.512 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.244, allocations: 0 / 1.194 GB, free: 5.512 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2441, allocations: 8 kB / 1.194 GB, free: 5.504 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.2441, allocations: 0 / 1.194 GB, free: 5.504 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.2442, allocations: 47.95 kB / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.2445, allocations: 271.7 kB / 1.194 GB, free: 5.148 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.2447, allocations: 58.55 kB / 1.194 GB, free: 5.082 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.973e-05/0.2447, allocations: 28.91 kB / 1.194 GB, free: 5.051 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.2447, allocations: 0 / 1.194 GB, free: 5.051 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.2448, allocations: 38.56 kB / 1.194 GB, free: 5.004 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2448, allocations: 0 / 1.194 GB, free: 5.004 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002798/0.245, allocations: 109.8 kB / 1.195 GB, free: 4.891 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.2451, allocations: 51.41 kB / 1.195 GB, free: 4.828 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.087e-05/0.2452, allocations: 109.9 kB / 1.195 GB, free: 4.711 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.2452, allocations: 25.7 kB / 1.195 GB, free: 4.68 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.2452, allocations: 92.09 kB / 1.195 GB, free: 4.586 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.2452, allocations: 11.94 kB / 1.195 GB, free: 4.574 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.2453, allocations: 17.72 kB / 1.195 GB, free: 4.551 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.2454, allocations: 318.8 kB / 1.195 GB, free: 4.23 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.882e-05/0.2454, allocations: 31.91 kB / 1.195 GB, free: 4.199 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.099e-05/0.2455, allocations: 27.95 kB / 1.195 GB, free: 4.172 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.2456, allocations: 56.75 kB / 1.195 GB, free: 4.113 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2456, allocations: 0 / 1.195 GB, free: 4.113 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001491/0.2457, allocations: 89.61 kB / 1.195 GB, free: 4.02 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2458, allocations: 4 kB / 1.195 GB, free: 4.016 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2458, allocations: 0 / 1.195 GB, free: 4.016 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2458, allocations: 4 kB / 1.195 GB, free: 4.012 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.653e-05/0.2459, allocations: 7.984 kB / 1.195 GB, free: 4.004 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2459, allocations: 4 kB / 1.195 GB, free: 4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.018e-05/0.2459, allocations: 15.92 kB / 1.195 GB, free: 3.984 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.2459, allocations: 3.938 kB / 1.195 GB, free: 3.98 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: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.592e-05/0.246, allocations: 118.9 kB / 1.196 GB, free: 3.855 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.246, allocations: 0 / 1.196 GB, free: 3.855 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.2461, allocations: 4 kB / 1.196 GB, free: 3.844 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.2461, allocations: 4 kB / 1.196 GB, free: 3.84 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2461, allocations: 0 / 1.196 GB, free: 3.84 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2461, allocations: 3.938 kB / 1.196 GB, free: 3.836 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.2462, allocations: 152.6 kB / 1.196 GB, free: 3.645 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2462, allocations: 11.94 kB / 1.196 GB, free: 3.633 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-05/0.2462, allocations: 7.984 kB / 1.196 GB, free: 3.625 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2462, allocations: 4 kB / 1.196 GB, free: 3.621 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.2462, allocations: 0 / 1.196 GB, free: 3.621 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2462, allocations: 0 / 1.196 GB, free: 3.621 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2463, allocations: 0 / 1.196 GB, free: 3.621 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.2464, allocations: 183.4 kB / 1.196 GB, free: 3.426 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.2464, allocations: 7.953 kB / 1.196 GB, free: 3.418 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.2465, allocations: 0 / 1.196 GB, free: 3.418 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.632e-05/0.2465, allocations: 7.984 kB / 1.196 GB, free: 3.41 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.2466, allocations: 11.98 kB / 1.196 GB, free: 3.398 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.2466, allocations: 0 / 1.196 GB, free: 3.398 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.564e-05/0.2466, allocations: 95.2 kB / 1.196 GB, free: 3.305 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.2466, allocations: 3.938 kB / 1.196 GB, free: 3.301 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001531/0.2468, allocations: 4 kB / 1.196 GB, free: 3.297 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: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0003917/0.2471, allocations: 0.7125 MB / 1.197 GB, free: 2.559 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.2473, allocations: 52.17 kB / 1.197 GB, free: 2.508 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2473, allocations: 7.938 kB / 1.197 GB, free: 2.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.88e-05/0.2474, allocations: 32.06 kB / 1.197 GB, free: 2.469 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.2476, allocations: 11.92 kB / 1.197 GB, free: 2.457 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.2487, allocations: 1.324 MB / 1.198 GB, free: 1.055 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.2489, allocations: 0.6846 MB / 1.199 GB, free: 352 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.802e-05/0.2489, allocations: 4 kB / 1.199 GB, free: 348 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.249, allocations: 19.42 kB / 1.199 GB, free: 328 kB / 0.823 GB Notification: Performance of SimCode: time 1.173e-06/0.249, allocations: 0 / 1.199 GB, free: 328 kB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.2666, allocations: 1.973 MB / 1.201 GB, free: 14.48 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.669/6.935, allocations: 11.25 kB / 1.201 GB, free: 14.48 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_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_LessEqualThreshold.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.443249881267548] Failed to read output from testmodel.py, exit status != 0: 7.011950543150306 7.024886648 6.77905924 Calling exit ...