Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.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.001113/0.001113, 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.000934/0.000934, allocations: 217.7 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.934/0.934, allocations: 230.6 MB / 256 MB, free: 9.805 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.03726/0.03726, allocations: 12.17 MB / 324.6 MB, free: 6.297 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.0004058/0.0004058, 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.156 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.Max,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Max",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.001484/0.001484, allocations: 126.9 kB / 1.06 GB, free: 25.02 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.252, allocations: 134.9 MB / 1.192 GB, free: 7.844 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Max): time 0.00165/0.2537, allocations: 0.7563 MB / 1.193 GB, free: 7.09 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000984/0.2547, allocations: 0.9055 MB / 1.193 GB, free: 6.172 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.5e-05/0.2547, allocations: 3.938 kB / 1.193 GB, free: 6.168 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.2547, allocations: 3.938 kB / 1.193 GB, free: 6.164 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.343e-05/0.2548, allocations: 7.875 kB / 1.193 GB, free: 6.156 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.255, allocations: 43.94 kB / 1.193 GB, free: 6.113 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.2551, allocations: 87.77 kB / 1.194 GB, free: 6.027 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.2552, allocations: 19.97 kB / 1.194 GB, free: 6.008 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.319e-05/0.2553, allocations: 43.84 kB / 1.194 GB, free: 5.965 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.075e-05/0.2554, allocations: 47.81 kB / 1.194 GB, free: 5.918 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.2554, allocations: 12 kB / 1.194 GB, free: 5.906 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.2554, allocations: 8 kB / 1.194 GB, free: 5.898 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/0.2555, allocations: 23.92 kB / 1.194 GB, free: 5.875 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.2555, allocations: 35.8 kB / 1.194 GB, free: 5.84 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.2556, allocations: 91.81 kB / 1.194 GB, free: 5.75 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2556, allocations: 0 / 1.194 GB, free: 5.75 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2556, allocations: 0 / 1.194 GB, free: 5.75 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.2557, allocations: 0 / 1.194 GB, free: 5.75 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.0004885/0.2561, allocations: 322 kB / 1.194 GB, free: 5.406 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.2562, allocations: 8.031 kB / 1.194 GB, free: 5.398 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002553/0.2564, allocations: 46.73 kB / 1.194 GB, free: 5.344 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.2565, allocations: 8.891 kB / 1.194 GB, free: 5.336 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.2566, allocations: 110.5 kB / 1.194 GB, free: 5.203 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2566, allocations: 8.375 kB / 1.194 GB, free: 5.195 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.2566, allocations: 8.125 kB / 1.194 GB, free: 5.188 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.2568, allocations: 105.5 kB / 1.194 GB, free: 5.078 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2568, allocations: 4 kB / 1.194 GB, free: 5.074 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2569, allocations: 7.984 kB / 1.194 GB, free: 5.066 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2569, allocations: 0 / 1.194 GB, free: 5.066 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.2571, allocations: 91.91 kB / 1.194 GB, free: 4.977 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.2575, allocations: 315.7 kB / 1.195 GB, free: 4.625 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.2579, allocations: 118.6 kB / 1.195 GB, free: 4.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.918e-05/0.258, allocations: 52.81 kB / 1.195 GB, free: 4.445 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.258, allocations: 0 / 1.195 GB, free: 4.445 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.258, allocations: 42.55 kB / 1.195 GB, free: 4.395 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.258, allocations: 0 / 1.195 GB, free: 4.395 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0004146/0.2584, allocations: 181.6 kB / 1.195 GB, free: 4.211 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.2585, allocations: 55.41 kB / 1.195 GB, free: 4.145 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.669e-05/0.2586, allocations: 133.7 kB / 1.195 GB, free: 4.004 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.2586, allocations: 25.7 kB / 1.195 GB, free: 3.973 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/0.2586, allocations: 96.09 kB / 1.195 GB, free: 3.875 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.2586, allocations: 19.78 kB / 1.195 GB, free: 3.855 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.2587, allocations: 29.7 kB / 1.196 GB, free: 3.82 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.385e-05/0.2588, allocations: 310.8 kB / 1.196 GB, free: 3.508 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.2589, allocations: 47.94 kB / 1.196 GB, free: 3.461 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.874e-05/0.259, allocations: 57.44 kB / 1.196 GB, free: 3.406 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.2591, allocations: 100.7 kB / 1.196 GB, free: 3.305 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2591, allocations: 0 / 1.196 GB, free: 3.305 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002251/0.2594, allocations: 141.5 kB / 1.196 GB, free: 3.16 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2594, allocations: 4 kB / 1.196 GB, free: 3.156 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2594, allocations: 0 / 1.196 GB, free: 3.156 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2594, allocations: 0 / 1.196 GB, free: 3.156 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.065e-05/0.2595, allocations: 23.97 kB / 1.196 GB, free: 3.133 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2595, allocations: 3.938 kB / 1.196 GB, free: 3.129 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.456e-05/0.2596, allocations: 15.98 kB / 1.196 GB, free: 3.113 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.2596, allocations: 7.938 kB / 1.196 GB, free: 3.105 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,max1.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 8.198e-05/0.2597, allocations: 117.8 kB / 1.196 GB, free: 2.98 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.2597, allocations: 11.88 kB / 1.196 GB, free: 2.969 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.26, allocations: 153.9 kB / 1.196 GB, free: 2.809 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.26, allocations: 0 / 1.196 GB, free: 2.809 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.26, allocations: 7.938 kB / 1.196 GB, free: 2.801 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.26, allocations: 0 / 1.196 GB, free: 2.801 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.2601, allocations: 168.7 kB / 1.197 GB, free: 2.594 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2601, allocations: 0 / 1.197 GB, free: 2.594 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.241e-05/0.2602, allocations: 23.97 kB / 1.197 GB, free: 2.57 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2602, allocations: 3.938 kB / 1.197 GB, free: 2.566 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.2602, allocations: 12 kB / 1.197 GB, free: 2.555 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2602, allocations: 0 / 1.197 GB, free: 2.555 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2602, allocations: 3.938 kB / 1.197 GB, free: 2.551 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.2605, allocations: 235.3 kB / 1.197 GB, free: 2.305 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.2605, allocations: 12.02 kB / 1.197 GB, free: 2.293 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.2605, allocations: 3.984 kB / 1.197 GB, free: 2.289 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.2606, allocations: 11.98 kB / 1.197 GB, free: 2.277 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.2606, allocations: 27.91 kB / 1.197 GB, free: 2.25 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.2606, allocations: 8 kB / 1.197 GB, free: 2.242 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.474e-05/0.2607, allocations: 91.27 kB / 1.197 GB, free: 2.152 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2607, allocations: 0 / 1.197 GB, free: 2.152 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001518/0.2608, allocations: 12 kB / 1.197 GB, free: 2.141 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 (max1.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.0005133/0.2613, allocations: 0.7732 MB / 1.198 GB, free: 1.344 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002611/0.2616, allocations: 112.4 kB / 1.198 GB, free: 1.234 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2616, allocations: 0 / 1.198 GB, free: 1.234 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.2617, allocations: 67.88 kB / 1.198 GB, free: 1.168 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.262, allocations: 9.812 kB / 1.198 GB, free: 1.16 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.2635, allocations: 1.54 MB / 1.199 GB, free: 15.54 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.2638, allocations: 0.6924 MB / 1.2 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 5.768e-05/0.2638, allocations: 15.75 kB / 1.2 GB, free: 14.8 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.211e-05/0.2639, allocations: 27.42 kB / 1.2 GB, free: 14.78 MB / 0.8387 GB Notification: Performance of SimCode: time 1.182e-06/0.2639, allocations: 0 / 1.2 GB, free: 14.78 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.2814, allocations: 2.854 MB / 1.203 GB, free: 12.06 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.612/6.893, allocations: 13.22 kB / 1.203 GB, free: 12.05 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max_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_Max.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.446351835504174] Failed to read output from testmodel.py, exit status != 0: 6.973393107764423 6.987519209 6.729101821 Calling exit ...