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.0007473/0.0007473, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0007265/0.0007265, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.8808/0.8808, allocations: 230.6 MB / 256 MB, free: 9.582 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.0367/0.0367, allocations: 12.19 MB / 324.6 MB, free: 6.082 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.0004083/0.0004083, allocations: 27.94 kB / 384.1 MB, free: 10.5 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.541/1.541, allocations: 353.9 MB / 0.7787 GB, free: 4.566 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.001273/0.001273, allocations: 119.1 kB / 1.06 GB, free: 24.78 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2054, allocations: 134.9 MB / 1.192 GB, free: 7.512 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Max): time 0.001469/0.2068, allocations: 0.7463 MB / 1.192 GB, free: 6.77 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007905/0.2076, allocations: 0.886 MB / 1.193 GB, free: 5.871 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.2077, allocations: 8 kB / 1.193 GB, free: 5.863 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.2077, allocations: 3.938 kB / 1.193 GB, free: 5.859 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.72e-05/0.2078, allocations: 15.84 kB / 1.193 GB, free: 5.844 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.2079, allocations: 39.91 kB / 1.193 GB, free: 5.805 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.813e-05/0.208, allocations: 87.81 kB / 1.193 GB, free: 5.719 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2081, allocations: 19.98 kB / 1.193 GB, free: 5.699 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.871e-05/0.2082, allocations: 35.91 kB / 1.193 GB, free: 5.664 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.2083, allocations: 43.81 kB / 1.194 GB, free: 5.621 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.2083, allocations: 11.94 kB / 1.194 GB, free: 5.609 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.2083, allocations: 8 kB / 1.194 GB, free: 5.602 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.492e-05/0.2083, allocations: 27.86 kB / 1.194 GB, free: 5.574 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.2084, allocations: 35.84 kB / 1.194 GB, free: 5.539 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.2085, allocations: 83.89 kB / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.2085, allocations: 3.984 kB / 1.194 GB, free: 5.453 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.634e-06/0.2085, allocations: 0 / 1.194 GB, free: 5.453 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.2085, allocations: 0 / 1.194 GB, free: 5.453 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.0006988/0.2092, allocations: 315.6 kB / 1.194 GB, free: 5.117 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2092, allocations: 12.03 kB / 1.194 GB, free: 5.105 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.201e-05/0.2093, allocations: 38.73 kB / 1.194 GB, free: 5.059 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.2093, allocations: 12.89 kB / 1.194 GB, free: 5.047 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.535e-05/0.2094, allocations: 118.4 kB / 1.194 GB, free: 4.906 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.2094, allocations: 4.375 kB / 1.194 GB, free: 4.902 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.2094, allocations: 8.125 kB / 1.194 GB, free: 4.895 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.2096, allocations: 107.1 kB / 1.194 GB, free: 4.785 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2096, allocations: 0 / 1.194 GB, free: 4.785 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.2096, allocations: 4 kB / 1.194 GB, free: 4.781 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2096, allocations: 4 kB / 1.194 GB, free: 4.777 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.2098, allocations: 95.91 kB / 1.194 GB, free: 4.684 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.2102, allocations: 299.7 kB / 1.195 GB, free: 4.348 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.2106, allocations: 110.6 kB / 1.195 GB, free: 4.23 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.2107, allocations: 60.8 kB / 1.195 GB, free: 4.168 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.2107, allocations: 7.938 kB / 1.195 GB, free: 4.16 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.2107, allocations: 30.56 kB / 1.195 GB, free: 4.121 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.2107, allocations: 0 / 1.195 GB, free: 4.121 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0003742/0.2111, allocations: 177.5 kB / 1.195 GB, free: 3.941 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.2111, allocations: 51.41 kB / 1.195 GB, free: 3.879 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.402e-05/0.2112, allocations: 133.7 kB / 1.195 GB, free: 3.738 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.2112, allocations: 25.7 kB / 1.195 GB, free: 3.707 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.2112, allocations: 105.5 kB / 1.195 GB, free: 3.602 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.2113, allocations: 19.8 kB / 1.195 GB, free: 3.582 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.2113, allocations: 25.7 kB / 1.195 GB, free: 3.551 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.632e-05/0.2114, allocations: 314.8 kB / 1.196 GB, free: 3.234 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.2115, allocations: 47.94 kB / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.219e-05/0.2116, allocations: 55.88 kB / 1.196 GB, free: 3.133 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.2117, allocations: 96.78 kB / 1.196 GB, free: 3.035 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2117, allocations: 0 / 1.196 GB, free: 3.035 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002172/0.212, allocations: 133.5 kB / 1.196 GB, free: 2.898 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.212, allocations: 12 kB / 1.196 GB, free: 2.887 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.212, allocations: 0 / 1.196 GB, free: 2.887 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.212, allocations: 4 kB / 1.196 GB, free: 2.883 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.116e-05/0.2121, allocations: 23.97 kB / 1.196 GB, free: 2.859 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.2121, allocations: 7.875 kB / 1.196 GB, free: 2.852 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.2121, allocations: 15.92 kB / 1.196 GB, free: 2.836 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.2121, allocations: 11.98 kB / 1.196 GB, free: 2.824 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 6.695e-05/0.2122, allocations: 117.8 kB / 1.196 GB, free: 2.699 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.2122, allocations: 7.953 kB / 1.196 GB, free: 2.691 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.2125, allocations: 150.5 kB / 1.196 GB, free: 2.535 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.2125, allocations: 0 / 1.196 GB, free: 2.535 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.2125, allocations: 3.938 kB / 1.196 GB, free: 2.531 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2125, allocations: 0 / 1.196 GB, free: 2.531 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.2126, allocations: 156.7 kB / 1.196 GB, free: 2.336 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2126, allocations: 0 / 1.196 GB, free: 2.336 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.192e-05/0.2127, allocations: 31.91 kB / 1.197 GB, free: 2.305 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2127, allocations: 0 / 1.197 GB, free: 2.305 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.2127, allocations: 8 kB / 1.197 GB, free: 2.297 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2127, allocations: 0 / 1.197 GB, free: 2.297 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2127, allocations: 3.938 kB / 1.197 GB, free: 2.293 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.213, allocations: 231.5 kB / 1.197 GB, free: 2.051 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.213, allocations: 16.02 kB / 1.197 GB, free: 2.035 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.213, allocations: 4 kB / 1.197 GB, free: 2.031 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.356e-05/0.213, allocations: 15.97 kB / 1.197 GB, free: 2.016 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.2131, allocations: 23.91 kB / 1.197 GB, free: 1.992 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.2131, allocations: 4 kB / 1.197 GB, free: 1.988 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.536e-05/0.2131, allocations: 95.2 kB / 1.197 GB, free: 1.895 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2131, allocations: 0 / 1.197 GB, free: 1.895 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001481/0.2133, allocations: 16 kB / 1.197 GB, free: 1.879 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.0004534/0.2137, allocations: 0.7748 MB / 1.198 GB, free: 1.078 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.214, allocations: 107.8 kB / 1.198 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.214, allocations: 0 / 1.198 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.2141, allocations: 63.95 kB / 1.198 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.2143, allocations: 13.8 kB / 1.198 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.2156, allocations: 1.536 MB / 1.199 GB, free: 15.28 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.707e-05/0.2157, allocations: 79.08 kB / 1.199 GB, free: 15.18 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.524e-05/0.2157, allocations: 11.98 kB / 1.199 GB, free: 15.17 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/0.2158, allocations: 35.36 kB / 1.199 GB, free: 15.13 MB / 0.8387 GB Notification: Performance of SimCode: time 7.41e-07/0.2158, allocations: 192 / 1.199 GB, free: 15.13 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/0.2302, allocations: 3.357 MB / 1.203 GB, free: 11.92 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.956/6.186, allocations: 9.406 kB / 1.203 GB, free: 11.92 MB / 0.8387 GB " [Timeout remaining time 654] (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: 10.230366993695498] Failed to read output from testmodel.py, exit status != 0: 6.258639276027679 6.267692145 6.057146214 Calling exit ...