Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.0008494/0.0008494, 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.0008478/0.0008478, 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.9352/0.9352, allocations: 230.6 MB / 256 MB, free: 9.824 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.0372/0.0372, allocations: 12.18 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.0004341/0.0004341, allocations: 35.88 kB / 384.1 MB, free: 10.69 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.672/1.672, allocations: 353.8 MB / 0.7787 GB, free: 3.148 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.GreaterThreshold,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.001506/0.001506, allocations: 122.4 kB / 1.06 GB, free: 25.02 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2359, 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.GreaterThreshold): time 0.001766/0.2377, allocations: 0.6994 MB / 1.192 GB, free: 7.215 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.2389, allocations: 0.8666 MB / 1.193 GB, free: 6.336 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.2389, allocations: 4 kB / 1.193 GB, free: 6.332 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.2389, allocations: 7.938 kB / 1.193 GB, free: 6.324 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.125e-05/0.239, allocations: 7.922 kB / 1.193 GB, free: 6.316 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.2392, allocations: 19.92 kB / 1.193 GB, free: 6.297 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.755e-05/0.2393, allocations: 43.97 kB / 1.193 GB, free: 6.254 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.2394, allocations: 15.92 kB / 1.193 GB, free: 6.238 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.741e-05/0.2395, allocations: 23.92 kB / 1.193 GB, free: 6.215 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.137e-05/0.2395, allocations: 23.84 kB / 1.193 GB, free: 6.191 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.2396, allocations: 4 kB / 1.193 GB, free: 6.188 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.005e-05/0.2396, allocations: 4 kB / 1.193 GB, free: 6.184 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/0.2396, allocations: 12 kB / 1.193 GB, free: 6.172 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.2396, allocations: 27.86 kB / 1.193 GB, free: 6.145 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.2398, allocations: 52.06 kB / 1.194 GB, free: 6.094 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.2398, allocations: 0 / 1.194 GB, free: 6.094 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2398, allocations: 0 / 1.194 GB, free: 6.094 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.2398, 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.0005794/0.2404, allocations: 278.3 kB / 1.194 GB, free: 5.793 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/0.2404, allocations: 12.03 kB / 1.194 GB, free: 5.781 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.787e-05/0.2405, allocations: 30.75 kB / 1.194 GB, free: 5.742 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.2405, allocations: 4.891 kB / 1.194 GB, free: 5.738 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.2407, allocations: 122.4 kB / 1.194 GB, free: 5.594 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.2407, allocations: 8.375 kB / 1.194 GB, free: 5.586 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.2407, allocations: 4.125 kB / 1.194 GB, free: 5.582 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.2409, allocations: 65.66 kB / 1.194 GB, free: 5.512 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2409, allocations: 0 / 1.194 GB, free: 5.512 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.2409, allocations: 3.984 kB / 1.194 GB, free: 5.508 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.241, allocations: 0 / 1.194 GB, free: 5.508 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.2411, allocations: 51.95 kB / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/0.2416, allocations: 267.8 kB / 1.194 GB, free: 5.152 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.2417, allocations: 62.53 kB / 1.194 GB, free: 5.082 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.759e-05/0.2418, allocations: 28.92 kB / 1.194 GB, free: 5.051 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.2418, allocations: 3.938 kB / 1.194 GB, free: 5.047 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.2419, allocations: 34.56 kB / 1.194 GB, free: 5.004 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 2.775e-06/0.2419, allocations: 7.938 kB / 1.194 GB, free: 4.996 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0003434/0.2422, allocations: 105.5 kB / 1.195 GB, free: 4.887 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.2423, allocations: 55.41 kB / 1.195 GB, free: 4.82 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.2424, allocations: 109.8 kB / 1.195 GB, free: 4.703 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.2424, allocations: 25.7 kB / 1.195 GB, free: 4.672 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.2424, allocations: 92.09 kB / 1.195 GB, free: 4.578 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.2425, allocations: 7.953 kB / 1.195 GB, free: 4.57 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.2425, allocations: 21.7 kB / 1.195 GB, free: 4.543 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.655e-05/0.2426, allocations: 314.8 kB / 1.195 GB, free: 4.227 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.792e-05/0.2427, allocations: 27.97 kB / 1.195 GB, free: 4.199 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.065e-05/0.2427, allocations: 23.98 kB / 1.195 GB, free: 4.176 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.2428, allocations: 56.81 kB / 1.195 GB, free: 4.117 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2428, allocations: 0 / 1.195 GB, free: 4.117 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001495/0.243, allocations: 89.53 kB / 1.195 GB, free: 4.023 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.243, allocations: 4 kB / 1.195 GB, free: 4.02 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.243, allocations: 0 / 1.195 GB, free: 4.02 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.243, allocations: 0 / 1.195 GB, free: 4.02 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.99e-05/0.2431, allocations: 11.98 kB / 1.195 GB, free: 4.008 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2431, allocations: 0 / 1.195 GB, free: 4.008 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.052e-05/0.2431, allocations: 23.92 kB / 1.195 GB, free: 3.984 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.2432, 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,intGreThr.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.927e-05/0.2432, allocations: 111.3 kB / 1.196 GB, free: 3.863 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.2432, allocations: 0 / 1.196 GB, free: 3.863 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.2433, allocations: 15.97 kB / 1.196 GB, free: 3.84 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2433, allocations: 4 kB / 1.196 GB, free: 3.836 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2433, allocations: 0 / 1.196 GB, free: 3.836 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2433, allocations: 0 / 1.196 GB, free: 3.836 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.2434, allocations: 148.6 kB / 1.196 GB, free: 3.648 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2434, allocations: 0 / 1.196 GB, free: 3.648 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-05/0.2435, allocations: 15.92 kB / 1.196 GB, free: 3.633 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.2435, allocations: 4 kB / 1.196 GB, free: 3.629 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.2435, allocations: 11.92 kB / 1.196 GB, free: 3.617 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2435, allocations: 0 / 1.196 GB, free: 3.617 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2435, allocations: 0 / 1.196 GB, free: 3.617 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.2437, allocations: 183.4 kB / 1.196 GB, free: 3.422 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.2437, allocations: 7.953 kB / 1.196 GB, free: 3.414 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.2437, allocations: 0 / 1.196 GB, free: 3.414 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.038e-05/0.2438, allocations: 7.984 kB / 1.196 GB, free: 3.406 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.2438, allocations: 11.98 kB / 1.196 GB, free: 3.395 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.2438, allocations: 0 / 1.196 GB, free: 3.395 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.911e-05/0.2439, allocations: 99.27 kB / 1.196 GB, free: 3.297 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2439, allocations: 0 / 1.196 GB, free: 3.297 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001507/0.244, allocations: 7.938 kB / 1.196 GB, free: 3.289 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 (intGreThr.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.0004841/0.2445, allocations: 0.7124 MB / 1.197 GB, free: 2.551 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001832/0.2447, allocations: 51.95 kB / 1.197 GB, free: 2.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2447, allocations: 4 kB / 1.197 GB, free: 2.496 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.554e-05/0.2447, allocations: 35.91 kB / 1.197 GB, free: 2.461 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.2451, allocations: 4 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.001272/0.2463, 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.0002247/0.2466, allocations: 0.6885 MB / 1.199 GB, free: 348 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.983e-05/0.2466, allocations: 4 kB / 1.199 GB, free: 344 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.2467, allocations: 15.44 kB / 1.199 GB, free: 328 kB / 0.823 GB Notification: Performance of SimCode: time 8.42e-07/0.2467, allocations: 0 / 1.199 GB, free: 328 kB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.2663, allocations: 1.983 MB / 1.201 GB, free: 14.47 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.649/6.916, allocations: 2.188 kB / 1.201 GB, free: 14.47 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_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_GreaterThreshold.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.310135188512504] Failed to read output from testmodel.py, exit status != 0: 6.990486774593592 7.000961389 6.759358203 Calling exit ...