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.0007485/0.0007485, 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.0008171/0.0008171, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.8543/0.8543, allocations: 230.6 MB / 256 MB, free: 9.59 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.03584/0.03584, allocations: 12.21 MB / 324.6 MB, free: 6.07 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.0004867/0.0004867, allocations: 27.95 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.538/1.538, allocations: 353.8 MB / 0.7787 GB, free: 4.574 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.001359/0.001359, allocations: 125.7 kB / 1.06 GB, free: 24.71 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1875, allocations: 134.9 MB / 1.192 GB, free: 7.504 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001403/0.1889, allocations: 0.6863 MB / 1.192 GB, free: 6.82 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007154/0.1896, allocations: 0.8665 MB / 1.193 GB, free: 5.941 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.806e-05/0.1896, allocations: 8 kB / 1.193 GB, free: 5.934 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.1897, allocations: 3.938 kB / 1.193 GB, free: 5.93 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.143e-05/0.1897, allocations: 3.938 kB / 1.193 GB, free: 5.926 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.1898, allocations: 19.92 kB / 1.193 GB, free: 5.906 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.1899, allocations: 47.91 kB / 1.193 GB, free: 5.859 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.036e-05/0.19, allocations: 8 kB / 1.193 GB, free: 5.852 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.577e-05/0.1901, allocations: 23.91 kB / 1.193 GB, free: 5.828 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.998e-05/0.1901, allocations: 19.91 kB / 1.193 GB, free: 5.809 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1901, allocations: 4 kB / 1.193 GB, free: 5.805 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.205e-06/0.1901, allocations: 4 kB / 1.193 GB, free: 5.801 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.1902, allocations: 19.94 kB / 1.193 GB, free: 5.781 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.1902, allocations: 23.91 kB / 1.193 GB, free: 5.758 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.554e-05/0.1903, allocations: 44.09 kB / 1.193 GB, free: 5.715 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1903, allocations: 3.984 kB / 1.193 GB, free: 5.711 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1903, allocations: 0 / 1.193 GB, free: 5.711 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1903, allocations: 3.938 kB / 1.193 GB, free: 5.707 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.0003651/0.1906, allocations: 270.3 kB / 1.194 GB, free: 5.414 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1907, allocations: 12.03 kB / 1.194 GB, free: 5.402 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.016e-05/0.1907, allocations: 42.67 kB / 1.194 GB, free: 5.352 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.219e-05/0.1907, allocations: 8.891 kB / 1.194 GB, free: 5.344 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.463e-05/0.1908, allocations: 110.5 kB / 1.194 GB, free: 5.211 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1908, allocations: 4.375 kB / 1.194 GB, free: 5.207 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.1908, allocations: 4.125 kB / 1.194 GB, free: 5.203 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.191, allocations: 73.64 kB / 1.194 GB, free: 5.125 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.191, allocations: 0 / 1.194 GB, free: 5.125 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.191, allocations: 0 / 1.194 GB, free: 5.125 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.191, allocations: 0 / 1.194 GB, free: 5.125 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1911, allocations: 51.94 kB / 1.194 GB, free: 5.074 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.1914, allocations: 255.8 kB / 1.194 GB, free: 4.781 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.1915, allocations: 62.53 kB / 1.194 GB, free: 4.711 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.1916, allocations: 28.92 kB / 1.194 GB, free: 4.68 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.1916, allocations: 0 / 1.194 GB, free: 4.68 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.1916, allocations: 42.53 kB / 1.194 GB, free: 4.629 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.1916, allocations: 0 / 1.194 GB, free: 4.629 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002354/0.1919, allocations: 109.6 kB / 1.194 GB, free: 4.516 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.1919, allocations: 55.41 kB / 1.194 GB, free: 4.449 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.035e-05/0.1919, allocations: 105.8 kB / 1.195 GB, free: 4.336 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.192, allocations: 25.7 kB / 1.195 GB, free: 4.305 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.192, allocations: 92.09 kB / 1.195 GB, free: 4.211 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.192, allocations: 3.953 kB / 1.195 GB, free: 4.207 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.192, allocations: 25.64 kB / 1.195 GB, free: 4.176 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.354e-05/0.1921, allocations: 318.8 kB / 1.195 GB, free: 3.855 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.22e-05/0.1922, allocations: 23.97 kB / 1.195 GB, free: 3.832 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.704e-05/0.1922, allocations: 27.98 kB / 1.195 GB, free: 3.805 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.431e-05/0.1923, allocations: 52.75 kB / 1.195 GB, free: 3.75 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1923, allocations: 0 / 1.195 GB, free: 3.75 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001244/0.1924, allocations: 89.59 kB / 1.195 GB, free: 3.656 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.1924, allocations: 4 kB / 1.195 GB, free: 3.652 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1924, allocations: 7.938 kB / 1.195 GB, free: 3.645 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1925, allocations: 0 / 1.195 GB, free: 3.645 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.29e-05/0.1925, allocations: 15.98 kB / 1.195 GB, free: 3.629 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.1925, allocations: 0 / 1.195 GB, free: 3.629 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.363e-05/0.1926, allocations: 15.92 kB / 1.195 GB, free: 3.613 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1926, allocations: 3.938 kB / 1.195 GB, free: 3.609 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 5.632e-05/0.1926, allocations: 112 kB / 1.195 GB, free: 3.492 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.1926, allocations: 0 / 1.195 GB, free: 3.492 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.125e-05/0.1927, allocations: 19.92 kB / 1.195 GB, free: 3.465 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1927, allocations: 0 / 1.195 GB, free: 3.465 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1927, allocations: 0 / 1.195 GB, free: 3.465 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.1927, allocations: 4 kB / 1.195 GB, free: 3.461 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.1928, allocations: 148.7 kB / 1.196 GB, free: 3.273 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1928, allocations: 0 / 1.196 GB, free: 3.273 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.696e-05/0.1928, allocations: 11.98 kB / 1.196 GB, free: 3.262 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.1928, allocations: 0 / 1.196 GB, free: 3.262 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.1928, allocations: 0 / 1.196 GB, free: 3.262 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1928, allocations: 0 / 1.196 GB, free: 3.262 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1928, allocations: 3.984 kB / 1.196 GB, free: 3.258 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.193, allocations: 179.5 kB / 1.196 GB, free: 3.066 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.193, allocations: 11.94 kB / 1.196 GB, free: 3.055 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.193, allocations: 4 kB / 1.196 GB, free: 3.051 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.339e-05/0.193, allocations: 4 kB / 1.196 GB, free: 3.047 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.1931, allocations: 16.34 kB / 1.196 GB, free: 3.031 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.1931, allocations: 7.938 kB / 1.196 GB, free: 3.023 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.939e-05/0.1931, allocations: 83.22 kB / 1.196 GB, free: 2.941 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.1931, allocations: 0 / 1.196 GB, free: 2.941 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001427/0.1933, allocations: 12 kB / 1.196 GB, free: 2.93 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.00035/0.1936, allocations: 0.7124 MB / 1.197 GB, free: 2.191 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001492/0.1938, allocations: 59.89 kB / 1.197 GB, free: 2.133 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.1938, allocations: 0 / 1.197 GB, free: 2.133 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.581e-05/0.1938, allocations: 31.97 kB / 1.197 GB, free: 2.102 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.194, allocations: 4.969 kB / 1.197 GB, free: 2.098 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009418/0.195, allocations: 1.333 MB / 1.198 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.143e-05/0.195, allocations: 63.34 kB / 1.198 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.463e-05/0.195, allocations: 8.234 kB / 1.198 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.529e-05/0.1951, allocations: 23.44 kB / 1.198 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of SimCode: time 5.72e-07/0.1951, allocations: 0 / 1.198 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01296/0.2081, allocations: 2.426 MB / 1.2 GB, free: 14.28 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.943/6.151, allocations: 4.062 kB / 1.2 GB, free: 14.28 MB / 0.8387 GB " [Timeout remaining time 654] (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: 10.142910245805979] Failed to read output from testmodel.py, exit status != 0: 6.224689494818449 6.233574204 6.041605017 Calling exit ...