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.0008075/0.0008075, 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.000866/0.000866, allocations: 162 kB / 22.43 MB, free: 2.145 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.8874/0.8874, allocations: 177.2 MB / 202.8 MB, free: 5.773 MB / 186.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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7166/0.7166, allocations: 154.9 MB / 414.2 MB, free: 0.5195 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.001202/0.001202, allocations: 68.25 kB / 0.6186 GB, free: 13.29 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.5145/0.5157, allocations: 102 MB / 0.7182 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001663/0.5173, allocations: 0.7465 MB / 0.7189 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.5184, allocations: 0.8867 MB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/0.5184, allocations: 1.062 kB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.044e-05/0.5185, allocations: 4.641 kB / 0.7198 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.5186, allocations: 14.48 kB / 0.7198 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.5188, allocations: 38.66 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.5189, allocations: 89.58 kB / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.5191, allocations: 26.86 kB / 0.72 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.5192, allocations: 51.41 kB / 0.72 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.738e-05/0.5193, allocations: 43.7 kB / 0.7201 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.5193, allocations: 8.312 kB / 0.7201 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.71e-05/0.5194, allocations: 8.156 kB / 0.7201 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.016e-05/0.5194, allocations: 18.41 kB / 0.7201 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.02e-05/0.5194, allocations: 39.38 kB / 0.7201 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.5196, allocations: 100.3 kB / 0.7202 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.5196, allocations: 0.6562 kB / 0.7202 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.554e-06/0.5196, allocations: 0 / 0.7202 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.5196, allocations: 5.031 kB / 0.7202 GB, free: 21.82 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.000503/0.5201, allocations: 317.8 kB / 0.7205 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.5202, allocations: 11.28 kB / 0.7206 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.165e-05/0.5202, allocations: 38.31 kB / 0.7206 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.5203, allocations: 9.156 kB / 0.7206 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.57e-05/0.5204, allocations: 121.2 kB / 0.7207 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.5204, allocations: 3.594 kB / 0.7207 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.5204, allocations: 11.38 kB / 0.7207 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.5206, allocations: 106.6 kB / 0.7208 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.5206, allocations: 0 / 0.7208 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.5206, allocations: 1.188 kB / 0.7208 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.5206, allocations: 1.188 kB / 0.7208 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.5209, allocations: 97.12 kB / 0.7209 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.5213, allocations: 302.1 kB / 0.7212 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.5217, allocations: 116 kB / 0.7213 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.5218, allocations: 58.28 kB / 0.7214 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.5218, allocations: 1.094 kB / 0.7214 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.5218, allocations: 36.5 kB / 0.7214 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.5218, allocations: 4.844 kB / 0.7214 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004439/0.5223, allocations: 186.9 kB / 0.7216 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.5223, allocations: 57.12 kB / 0.7217 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.648e-05/0.5224, allocations: 119.1 kB / 0.7218 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.5224, allocations: 26.73 kB / 0.7218 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.034e-05/0.5225, allocations: 101.6 kB / 0.7219 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.5225, allocations: 20.25 kB / 0.7219 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.5225, allocations: 23.91 kB / 0.7219 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.888e-05/0.5226, allocations: 323.7 kB / 0.7222 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.5227, allocations: 42.98 kB / 0.7223 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.5228, allocations: 49.3 kB / 0.7223 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.523, allocations: 101.5 kB / 0.7224 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.523, allocations: 4 kB / 0.7224 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002595/0.5233, allocations: 134.8 kB / 0.7226 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.5233, allocations: 5.375 kB / 0.7226 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5233, allocations: 0 / 0.7226 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.5233, allocations: 1.844 kB / 0.7226 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.5234, allocations: 24.58 kB / 0.7226 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.5234, allocations: 7.938 kB / 0.7226 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.173e-05/0.5235, allocations: 12.78 kB / 0.7226 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.5235, allocations: 3.188 kB / 0.7226 GB, free: 20.03 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 8.335e-05/0.5236, allocations: 123.1 kB / 0.7227 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.5236, allocations: 7.078 kB / 0.7227 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000323/0.5239, allocations: 154.8 kB / 0.7229 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5239, allocations: 1.25 kB / 0.7229 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5239, allocations: 3.938 kB / 0.7229 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5239, allocations: 3.984 kB / 0.7229 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.5241, allocations: 152.3 kB / 0.723 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5241, allocations: 2.328 kB / 0.723 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.229e-05/0.5241, allocations: 24.06 kB / 0.7231 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5241, allocations: 3.938 kB / 0.7231 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.5242, allocations: 6.719 kB / 0.7231 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5242, allocations: 4.969 kB / 0.7231 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5242, allocations: 7.938 kB / 0.7231 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.5244, allocations: 231.5 kB / 0.7233 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.501e-05/0.5244, allocations: 11.75 kB / 0.7233 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.5244, allocations: 1.547 kB / 0.7233 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.5245, allocations: 16.41 kB / 0.7233 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.5246, allocations: 25.72 kB / 0.7234 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.5246, allocations: 15.59 kB / 0.7234 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.349e-05/0.5246, allocations: 92.36 kB / 0.7235 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5246, allocations: 0 / 0.7235 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001549/0.5248, allocations: 11.88 kB / 0.7235 GB, free: 19.37 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.0004153/0.5252, allocations: 0.7635 MB / 0.7242 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002838/0.5255, allocations: 107 kB / 0.7243 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5255, allocations: 0 / 0.7243 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.5256, allocations: 64.58 kB / 0.7244 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.5259, allocations: 9.156 kB / 0.7244 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.5272, allocations: 1.544 MB / 0.7259 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.309e-05/0.5272, allocations: 81.56 kB / 0.726 GB, free: 17.28 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.014e-05/0.5273, allocations: 8.438 kB / 0.726 GB, free: 17.28 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.721e-05/0.5273, allocations: 37.19 kB / 0.726 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of SimCode: time 7.52e-07/0.5273, allocations: 0 / 0.726 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.5456, allocations: 3.48 MB / 0.7294 GB, free: 16.28 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.915/7.46, allocations: 7.047 kB / 0.7294 GB, free: 16.28 MB / 0.6355 GB " [Timeout remaining time 652] (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.347901298897341] Failed to read output from testmodel.py, exit status != 0: 7.546957810991444 7.561222134 7.039095951 Calling exit ...