Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007278/0.0007278, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0007809/0.0007809, allocations: 162 kB / 22.43 MB, free: 2.141 MB / 18.57 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.8578/0.8578, allocations: 177.2 MB / 202.8 MB, free: 5.777 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7031/0.7031, allocations: 154.7 MB / 413.9 MB, free: 0.7539 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="IDEAS_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.0008558/0.0008558, allocations: 66.58 kB / 0.6183 GB, free: 13.58 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4599/0.4608, allocations: 101.9 MB / 0.7179 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001503/0.4623, allocations: 0.75 MB / 0.7186 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008542/0.4631, allocations: 0.8903 MB / 0.7195 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.4632, allocations: 1 kB / 0.7195 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.158e-05/0.4632, allocations: 5.156 kB / 0.7195 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.052e-05/0.4633, allocations: 10.11 kB / 0.7195 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.4634, allocations: 51.03 kB / 0.7196 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.4636, allocations: 82.73 kB / 0.7196 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.4637, allocations: 22.8 kB / 0.7197 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.4638, allocations: 49.97 kB / 0.7197 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.388e-05/0.4638, allocations: 53.28 kB / 0.7198 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.4639, allocations: 11.34 kB / 0.7198 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.367e-05/0.4639, allocations: 8.75 kB / 0.7198 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.4639, allocations: 14.36 kB / 0.7198 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.4639, allocations: 27.36 kB / 0.7198 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.4641, allocations: 107.6 kB / 0.7199 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4641, allocations: 4 kB / 0.7199 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.765e-06/0.4641, allocations: 1.062 kB / 0.7199 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.4641, allocations: 0 / 0.7199 GB, free: 21.9 MB / 0.6355 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.0004249/0.4645, allocations: 314.3 kB / 0.7202 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.4646, allocations: 9.812 kB / 0.7202 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.051e-05/0.4646, allocations: 38.28 kB / 0.7203 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.4646, allocations: 8.953 kB / 0.7203 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.298e-05/0.4647, allocations: 125.3 kB / 0.7204 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.4647, allocations: 3.875 kB / 0.7204 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.4647, allocations: 15.25 kB / 0.7204 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.4649, allocations: 102.4 kB / 0.7205 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.4649, allocations: 0 / 0.7205 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.465, allocations: 0 / 0.7205 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.465, allocations: 2.188 kB / 0.7205 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.4652, allocations: 93.2 kB / 0.7206 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.4655, allocations: 306.5 kB / 0.7209 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.4659, allocations: 119.9 kB / 0.721 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.466, allocations: 50.17 kB / 0.7211 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.466, allocations: 5.672 kB / 0.7211 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.272e-05/0.466, allocations: 32.69 kB / 0.7211 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.466, allocations: 7.984 kB / 0.7211 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004071/0.4664, allocations: 179 kB / 0.7213 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.4665, allocations: 56.44 kB / 0.7213 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.314e-05/0.4665, allocations: 124.1 kB / 0.7214 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.4666, allocations: 26.83 kB / 0.7215 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.4666, allocations: 94.27 kB / 0.7216 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.4666, allocations: 27.42 kB / 0.7216 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.4666, allocations: 27.8 kB / 0.7216 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.698e-05/0.4667, allocations: 319.5 kB / 0.7219 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.4668, allocations: 43.91 kB / 0.722 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.81e-05/0.4669, allocations: 52.41 kB / 0.722 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.4671, allocations: 101 kB / 0.7221 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4671, allocations: 0 / 0.7221 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002333/0.4673, allocations: 130.9 kB / 0.7222 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.4673, allocations: 5.656 kB / 0.7222 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4673, allocations: 80 / 0.7222 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.4673, allocations: 1.75 kB / 0.7222 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.607e-05/0.4674, allocations: 32.42 kB / 0.7223 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.4675, allocations: 11.86 kB / 0.7223 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.66e-05/0.4675, allocations: 12.47 kB / 0.7223 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.4675, allocations: 4.031 kB / 0.7223 GB, free: 20.11 MB / 0.6355 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 5.397e-05/0.4676, allocations: 114.9 kB / 0.7224 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.4676, allocations: 11.33 kB / 0.7224 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.4679, allocations: 150.2 kB / 0.7226 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4679, allocations: 5.062 kB / 0.7226 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4679, allocations: 3.938 kB / 0.7226 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4679, allocations: 1.688 kB / 0.7226 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.468, allocations: 160.5 kB / 0.7227 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.468, allocations: 0 / 0.7227 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.749e-05/0.4681, allocations: 29 kB / 0.7227 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4681, allocations: 0 / 0.7227 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.4681, allocations: 5.984 kB / 0.7228 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.4681, allocations: 1.812 kB / 0.7228 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4681, allocations: 3.938 kB / 0.7228 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.4683, allocations: 232.5 kB / 0.723 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.4684, allocations: 11.12 kB / 0.723 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.4684, allocations: 1.734 kB / 0.723 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.4684, allocations: 16.45 kB / 0.723 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.4685, allocations: 24.95 kB / 0.723 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.4685, allocations: 3.484 kB / 0.723 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.074e-05/0.4685, allocations: 99.86 kB / 0.7231 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4685, allocations: 1.031 kB / 0.7231 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001468/0.4687, allocations: 12.19 kB / 0.7231 GB, free: 19.46 MB / 0.6355 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.00037/0.4691, allocations: 0.7716 MB / 0.7239 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000249/0.4693, allocations: 106 kB / 0.724 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4693, allocations: 0 / 0.724 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.4694, allocations: 57.36 kB / 0.7241 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.4697, allocations: 20.59 kB / 0.7241 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.4709, allocations: 1.532 MB / 0.7256 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.45e-05/0.4709, allocations: 82.98 kB / 0.7256 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.565e-05/0.471, allocations: 12.23 kB / 0.7257 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/0.471, allocations: 34.86 kB / 0.7257 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of SimCode: time 5.71e-07/0.471, allocations: 1.25 kB / 0.7257 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.4889, allocations: 3.472 MB / 0.7291 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.672/7.16, allocations: 10.95 kB / 0.7291 GB, free: 16.36 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Integers_Validation_Max.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.808384382980876] Failed to read output from testmodel.py, exit status != 0: 7.238280706922524 7.247724748 6.781863582 Calling exit ...