Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0009088/0.0009088, 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.0009961/0.0009961, allocations: 221.7 kB / 22.26 MB, free: 3.691 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.9997/0.9997, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8172/0.8172, allocations: 203.8 MB / 0.5042 GB, free: 10.77 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001009/0.001009, allocations: 67.02 kB / 0.7182 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6006/0.6016, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001702/0.6033, allocations: 0.7731 MB / 0.8186 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009419/0.6042, allocations: 0.9015 MB / 0.8195 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.823e-05/0.6043, allocations: 0 / 0.8195 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.162e-05/0.6043, allocations: 11.5 kB / 0.8195 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.6044, allocations: 9.328 kB / 0.8195 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.6046, allocations: 40.95 kB / 0.8196 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.6047, allocations: 88.03 kB / 0.8196 GB, free: 0 / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.6049, allocations: 26.41 kB / 0.8197 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.802e-05/0.605, allocations: 36.14 kB / 0.8197 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.238e-05/0.605, allocations: 52.66 kB / 0.8198 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.6051, allocations: 6.5 kB / 0.8198 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.376e-05/0.6051, allocations: 12.28 kB / 0.8198 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.323e-05/0.6051, allocations: 19.52 kB / 0.8198 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.646e-05/0.6052, allocations: 37.94 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.6053, allocations: 86.03 kB / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.6053, allocations: 0 / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6053, allocations: 3.938 kB / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.6053, allocations: 0 / 0.8199 GB, free: 15.87 MB / 0.6198 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.0005061/0.6058, allocations: 319.2 kB / 0.8202 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.6059, allocations: 14.92 kB / 0.8202 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.515e-05/0.6059, allocations: 32.11 kB / 0.8203 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.606, allocations: 9.922 kB / 0.8203 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.6061, allocations: 127.3 kB / 0.8204 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.6061, allocations: 3.219 kB / 0.8204 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.6061, allocations: 11 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.6063, allocations: 109.1 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.6064, allocations: 0 / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.6064, allocations: 0 / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.6064, allocations: 11.31 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.6066, allocations: 100.1 kB / 0.8206 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.6072, allocations: 305.7 kB / 0.8209 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004043/0.6076, allocations: 121.1 kB / 0.821 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.6077, allocations: 55.16 kB / 0.8211 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.6077, allocations: 4.594 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.6077, allocations: 30.56 kB / 0.8211 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.6077, allocations: 4 kB / 0.8211 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004298/0.6082, allocations: 183.6 kB / 0.8213 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.6082, allocations: 55.23 kB / 0.8213 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.305e-05/0.6083, allocations: 128.2 kB / 0.8215 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.6083, allocations: 26.98 kB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.6083, allocations: 97.02 kB / 0.8216 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.6084, allocations: 23.84 kB / 0.8216 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.6084, allocations: 27.39 kB / 0.8216 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.531e-05/0.6085, allocations: 318.7 kB / 0.8219 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.6086, allocations: 44.69 kB / 0.822 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.885e-05/0.6087, allocations: 54.23 kB / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.6089, allocations: 94.61 kB / 0.8221 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6089, allocations: 0.5625 kB / 0.8221 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000262/0.6092, allocations: 142.7 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.6092, allocations: 3.625 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.6092, allocations: 0 / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.6092, allocations: 1.5 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.528e-05/0.6093, allocations: 27.25 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.6093, allocations: 4.016 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.527e-05/0.6094, allocations: 16.39 kB / 0.8223 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.6094, allocations: 7.125 kB / 0.8223 GB, free: 14.06 MB / 0.6198 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 7.652e-05/0.6094, allocations: 117.9 kB / 0.8224 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.6095, allocations: 8.547 kB / 0.8224 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.6098, allocations: 149.2 kB / 0.8226 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.6098, allocations: 1.781 kB / 0.8226 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.6098, allocations: 3.938 kB / 0.8226 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6098, allocations: 4.797 kB / 0.8226 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.6099, allocations: 170.9 kB / 0.8228 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.6099, allocations: 0.7969 kB / 0.8228 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.775e-05/0.61, allocations: 28.73 kB / 0.8228 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.61, allocations: 0 / 0.8228 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.61, allocations: 0.9844 kB / 0.8228 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.61, allocations: 3.906 kB / 0.8228 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.61, allocations: 3.938 kB / 0.8228 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.6103, allocations: 233 kB / 0.823 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.6103, allocations: 11.56 kB / 0.823 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.6103, allocations: 5.078 kB / 0.823 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.555e-05/0.6104, allocations: 13.09 kB / 0.823 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.6105, allocations: 24.08 kB / 0.8231 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-06/0.6105, allocations: 7.234 kB / 0.8231 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.222e-05/0.6105, allocations: 98.75 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.6105, allocations: 0 / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000166/0.6107, allocations: 19.44 kB / 0.8232 GB, free: 13.4 MB / 0.6198 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.0004971/0.6112, allocations: 0.7684 MB / 0.8239 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002852/0.6115, allocations: 100.5 kB / 0.824 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6115, allocations: 0 / 0.824 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.6116, allocations: 66.83 kB / 0.8241 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.6119, allocations: 13.41 kB / 0.8241 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.6135, allocations: 1.536 MB / 0.8256 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.6137, allocations: 0.6895 MB / 0.8263 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.582e-05/0.6137, allocations: 16.16 kB / 0.8263 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.235e-05/0.6138, allocations: 31 kB / 0.8263 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of SimCode: time 6.41e-07/0.6138, allocations: 0 / 0.8263 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.6353, allocations: 2.851 MB / 0.8291 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.532/7.167, allocations: 6.594 kB / 0.8291 GB, free: 10.17 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Max.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.304075114894658] Failed to read output from testmodel.py, exit status != 0: 7.245313077000901 7.262537165 6.6540562979999995 Calling exit ...