Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.0008246/0.0008246, 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.0009229/0.0009229, allocations: 214.6 kB / 22.26 MB, free: 3.852 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.8926/0.8926, allocations: 230.6 MB / 256 MB, free: 3.449 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.03716/0.03716, allocations: 12.18 MB / 324.6 MB, free: 3.523 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.0005169/0.0005169, allocations: 31.44 kB / 384.1 MB, free: 45.67 MB / 298.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.741/1.741, allocations: 353.8 MB / 0.7787 GB, free: 13 MB / 0.5262 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.LessThreshold,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.002114/0.002114, allocations: 117.1 kB / 1.06 GB, free: 9.766 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2572, allocations: 134.9 MB / 1.192 GB, free: 2.949 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001693/0.2589, allocations: 0.6964 MB / 1.192 GB, free: 2.258 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.2599, allocations: 0.8705 MB / 1.193 GB, free: 1.375 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.761e-05/0.26, allocations: 0 / 1.193 GB, free: 1.375 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.79e-05/0.26, allocations: 3.938 kB / 1.193 GB, free: 1.371 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.2601, allocations: 7.938 kB / 1.193 GB, free: 1.363 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.2603, allocations: 27.95 kB / 1.193 GB, free: 1.336 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.669e-05/0.2604, allocations: 43.86 kB / 1.193 GB, free: 1.293 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.2606, allocations: 15.98 kB / 1.193 GB, free: 1.277 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.2607, allocations: 23.92 kB / 1.193 GB, free: 1.254 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.176e-05/0.2608, allocations: 27.84 kB / 1.193 GB, free: 1.227 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.2608, allocations: 4 kB / 1.193 GB, free: 1.223 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.2608, allocations: 8 kB / 1.193 GB, free: 1.215 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.2609, allocations: 7.984 kB / 1.193 GB, free: 1.207 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.2609, allocations: 19.88 kB / 1.193 GB, free: 1.188 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.261, allocations: 52 kB / 1.194 GB, free: 1.137 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.261, allocations: 4 kB / 1.194 GB, free: 1.133 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.784e-06/0.261, allocations: 0 / 1.194 GB, free: 1.133 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.261, allocations: 0 / 1.194 GB, free: 1.133 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.0004459/0.2615, allocations: 278.3 kB / 1.194 GB, free: 0.832 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.2615, allocations: 15.98 kB / 1.194 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.927e-05/0.2616, allocations: 34.75 kB / 1.194 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.2616, allocations: 8.891 kB / 1.194 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.2617, allocations: 118.5 kB / 1.194 GB, free: 0.625 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.2617, allocations: 384 / 1.194 GB, free: 0.625 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.2617, allocations: 12.12 kB / 1.194 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.2619, allocations: 61.66 kB / 1.194 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2619, allocations: 0 / 1.194 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.2619, allocations: 7.984 kB / 1.194 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2619, allocations: 7.938 kB / 1.194 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.262, allocations: 43.95 kB / 1.194 GB, free: 500 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.2624, allocations: 271.8 kB / 1.194 GB, free: 184 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.2626, allocations: 58.55 kB / 1.194 GB, free: 116 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.099e-05/0.2626, allocations: 32.84 kB / 1.194 GB, free: 80 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.2626, allocations: 0 / 1.194 GB, free: 80 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.2627, allocations: 38.5 kB / 1.194 GB, free: 32 kB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.2627, allocations: 4 kB / 1.194 GB, free: 28 kB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.000304/0.263, allocations: 105.6 kB / 1.195 GB, free: 15.92 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.263, allocations: 51.41 kB / 1.195 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.808e-05/0.2631, allocations: 105.8 kB / 1.195 GB, free: 15.74 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.2631, allocations: 25.7 kB / 1.195 GB, free: 15.71 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.2632, allocations: 92.09 kB / 1.195 GB, free: 15.62 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.2632, allocations: 7.938 kB / 1.195 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.2632, allocations: 21.72 kB / 1.195 GB, free: 15.58 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.916e-05/0.2633, allocations: 322.7 kB / 1.195 GB, free: 15.26 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.705e-05/0.2634, allocations: 27.97 kB / 1.195 GB, free: 15.23 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-05/0.2634, allocations: 23.97 kB / 1.195 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.2635, allocations: 48.81 kB / 1.195 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.2635, allocations: 4 kB / 1.195 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001388/0.2637, allocations: 89.55 kB / 1.195 GB, free: 15.06 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2637, allocations: 4 kB / 1.195 GB, free: 15.05 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2637, allocations: 0 / 1.195 GB, free: 15.05 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2637, allocations: 0 / 1.195 GB, free: 15.05 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.541e-05/0.2638, allocations: 15.92 kB / 1.195 GB, free: 15.04 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2638, allocations: 4 kB / 1.195 GB, free: 15.04 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.681e-05/0.2638, allocations: 11.92 kB / 1.195 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.2638, allocations: 7.938 kB / 1.195 GB, free: 15.02 MB / 0.8387 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,intLesThr.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 6.854e-05/0.2639, allocations: 117.8 kB / 1.196 GB, free: 14.89 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.2639, allocations: 0 / 1.196 GB, free: 14.89 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/0.2639, allocations: 8 kB / 1.196 GB, free: 14.88 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2639, allocations: 0 / 1.196 GB, free: 14.88 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.264, allocations: 0 / 1.196 GB, free: 14.88 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.264, allocations: 0 / 1.196 GB, free: 14.88 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.2641, allocations: 156.6 kB / 1.196 GB, free: 14.68 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2641, allocations: 336 / 1.196 GB, free: 14.68 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.62e-05/0.2641, allocations: 15.98 kB / 1.196 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2641, allocations: 0 / 1.196 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.2641, allocations: 0 / 1.196 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2641, allocations: 7.938 kB / 1.196 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2642, allocations: 0 / 1.196 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.2643, allocations: 187.4 kB / 1.196 GB, free: 14.46 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.2643, allocations: 11.95 kB / 1.196 GB, free: 14.45 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.2644, allocations: 0 / 1.196 GB, free: 14.45 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.674e-05/0.2644, allocations: 7.984 kB / 1.196 GB, free: 14.44 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.2645, allocations: 11.98 kB / 1.196 GB, free: 14.43 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.2645, allocations: 0 / 1.196 GB, free: 14.43 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.838e-05/0.2645, allocations: 95.2 kB / 1.196 GB, free: 14.33 MB / 0.8387 GB Notification: Performance of sort global known variables: time 7e-08/0.2645, allocations: 0 / 1.196 GB, free: 14.33 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001395/0.2646, allocations: 8 kB / 1.196 GB, free: 14.32 MB / 0.8387 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 (intLesThr.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.0006108/0.2653, allocations: 0.7086 MB / 1.197 GB, free: 13.59 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001815/0.2654, allocations: 55.88 kB / 1.197 GB, free: 13.54 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2654, allocations: 0 / 1.197 GB, free: 13.54 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.022e-05/0.2655, allocations: 39.97 kB / 1.197 GB, free: 13.5 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.2658, allocations: 2.344 kB / 1.197 GB, free: 13.5 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.2669, allocations: 1.323 MB / 1.198 GB, free: 12.09 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.2671, allocations: 0.6845 MB / 1.199 GB, free: 11.38 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.333e-05/0.2672, allocations: 8 kB / 1.199 GB, free: 11.38 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.328e-05/0.2672, allocations: 19.42 kB / 1.199 GB, free: 11.36 MB / 0.8387 GB Notification: Performance of SimCode: time 9.21e-07/0.2672, allocations: 0 / 1.199 GB, free: 11.36 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.2857, allocations: 1.976 MB / 1.201 GB, free: 9.516 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.57/6.856, allocations: 1.25 kB / 1.201 GB, free: 9.516 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold_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_LessThreshold.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.330431759357452] Failed to read output from testmodel.py, exit status != 0: 6.934436475858092 6.946168832 6.68252609 Calling exit ...