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.0008385/0.0008385, allocations: 105.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.0009738/0.0009738, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.9086/0.9086, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.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.7639/0.7639, allocations: 203.5 MB / 0.5039 GB, free: 10.74 MB / 410.7 MB " [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.0008884/0.0008884, allocations: 61.5 kB / 0.7178 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4679/0.4688, allocations: 102 MB / 0.8174 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001463/0.4703, allocations: 0.7446 MB / 0.8181 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007535/0.471, allocations: 0.8881 MB / 0.819 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.816e-05/0.4711, allocations: 0 / 0.819 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.58e-05/0.4711, allocations: 12.45 kB / 0.819 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.291e-05/0.4712, allocations: 8.531 kB / 0.819 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.4714, allocations: 41.64 kB / 0.819 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.952e-05/0.4715, allocations: 83.77 kB / 0.8191 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.4716, allocations: 22.52 kB / 0.8191 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.066e-05/0.4717, allocations: 41.16 kB / 0.8192 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.822e-05/0.4717, allocations: 45.44 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.4718, allocations: 7.656 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.4718, allocations: 6.125 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.4718, allocations: 18.28 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.4718, allocations: 39.72 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.472, allocations: 87.39 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.472, allocations: 0 / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.472, allocations: 0 / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.472, allocations: 0 / 0.8194 GB, free: 15.92 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.0004617/0.4724, allocations: 317.3 kB / 0.8197 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.4725, allocations: 10.88 kB / 0.8197 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.547e-05/0.4725, allocations: 36.91 kB / 0.8197 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.4725, allocations: 9.422 kB / 0.8197 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.539e-05/0.4726, allocations: 125.3 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.4726, allocations: 2.656 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.4727, allocations: 12.83 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.4729, allocations: 105.4 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.4729, allocations: 7.938 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.4729, allocations: 3.5 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4729, allocations: 4.5 kB / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.4731, allocations: 100.7 kB / 0.8201 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.4735, allocations: 297.8 kB / 0.8204 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.4739, allocations: 115.2 kB / 0.8205 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.474, allocations: 54.64 kB / 0.8205 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.474, allocations: 7.938 kB / 0.8205 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.4741, allocations: 35.41 kB / 0.8206 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.4741, allocations: 0 / 0.8206 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000429/0.4745, allocations: 182.9 kB / 0.8207 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.4745, allocations: 57.2 kB / 0.8208 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.937e-05/0.4746, allocations: 126.9 kB / 0.8209 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.4746, allocations: 30.31 kB / 0.821 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.4747, allocations: 92.5 kB / 0.821 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.4747, allocations: 25.11 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.4748, allocations: 22.12 kB / 0.8211 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.454e-05/0.4749, allocations: 319.5 kB / 0.8214 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.475, allocations: 48.16 kB / 0.8214 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.4751, allocations: 45.27 kB / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.4753, allocations: 100.5 kB / 0.8216 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4753, allocations: 0 / 0.8216 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000271/0.4756, allocations: 136.6 kB / 0.8217 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.4756, allocations: 4.469 kB / 0.8217 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.4756, allocations: 4 kB / 0.8217 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.4756, allocations: 2.875 kB / 0.8217 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.4757, allocations: 29.05 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.4757, allocations: 3.938 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.72e-05/0.4758, allocations: 11.94 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.4758, allocations: 3.641 kB / 0.8218 GB, free: 14.12 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 8.259e-05/0.4759, allocations: 119.6 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.4759, allocations: 7.922 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/0.4763, allocations: 154.5 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4763, allocations: 1.719 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.4763, allocations: 3.938 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.4763, allocations: 0.6562 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.4764, allocations: 152.1 kB / 0.8222 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.4764, allocations: 0 / 0.8222 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.774e-05/0.4765, allocations: 33.59 kB / 0.8222 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4765, allocations: 0 / 0.8222 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.4765, allocations: 2.781 kB / 0.8222 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.4765, allocations: 1.031 kB / 0.8222 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4765, allocations: 7.875 kB / 0.8222 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.4768, allocations: 237.8 kB / 0.8225 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.299e-05/0.4768, allocations: 5.641 kB / 0.8225 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.4768, allocations: 9.969 kB / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.715e-05/0.4769, allocations: 16.59 kB / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.4769, allocations: 24.42 kB / 0.8225 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.4769, allocations: 7.719 kB / 0.8225 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.937e-05/0.477, allocations: 93.48 kB / 0.8226 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.477, allocations: 3.938 kB / 0.8226 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001524/0.4771, allocations: 15.31 kB / 0.8226 GB, free: 13.46 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.0004425/0.4776, allocations: 0.7663 MB / 0.8234 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.4778, allocations: 109.5 kB / 0.8235 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4778, allocations: 0 / 0.8235 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.4779, allocations: 60.19 kB / 0.8235 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.4782, allocations: 14.83 kB / 0.8235 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.4795, allocations: 1.54 MB / 0.825 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.362e-05/0.4795, allocations: 80.66 kB / 0.8251 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.698e-05/0.4796, allocations: 12.52 kB / 0.8251 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.59e-05/0.4797, allocations: 31.12 kB / 0.8252 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of SimCode: time 4.4e-07/0.4797, allocations: 3.938 kB / 0.8252 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.498, allocations: 3.342 MB / 0.8284 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.708/7.206, allocations: 3.484 kB / 0.8284 GB, free: 10.4 MB / 0.6198 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: 10.129073863849044] Failed to read output from testmodel.py, exit status != 0: 7.288687068969011 7.300080035 6.825995409 Calling exit ...