Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.0008545/0.0008545, 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.0008823/0.0008823, 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.8629/0.8629, 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 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.7235/0.7235, allocations: 154.9 MB / 414.2 MB, free: 0.5078 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.Reals.Validation.Max,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_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.0009948/0.0009948, allocations: 68.97 kB / 0.6187 GB, free: 13.23 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.423/0.424, allocations: 102 MB / 0.7183 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001469/0.4254, allocations: 0.6802 MB / 0.7189 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007306/0.4262, allocations: 0.8383 MB / 0.7197 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.75e-05/0.4262, allocations: 0 / 0.7197 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.4262, allocations: 4.594 kB / 0.7198 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.368e-05/0.4263, allocations: 6.078 kB / 0.7198 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001085/0.4264, allocations: 15.41 kB / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.213e-05/0.4265, allocations: 39.14 kB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.964e-05/0.4266, allocations: 19.36 kB / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.741e-05/0.4266, allocations: 29.17 kB / 0.7199 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.205e-05/0.4267, allocations: 18.89 kB / 0.7199 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.4267, allocations: 3.594 kB / 0.7199 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.108e-06/0.4267, allocations: 3.656 kB / 0.7199 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.4267, allocations: 10.77 kB / 0.7199 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.4268, allocations: 17.36 kB / 0.7199 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.958e-05/0.4269, allocations: 42.95 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4269, allocations: 4 kB / 0.72 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4269, allocations: 0 / 0.72 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4269, allocations: 1.469 kB / 0.72 GB, free: 22.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003532/0.4272, allocations: 290.1 kB / 0.7202 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4273, allocations: 12.03 kB / 0.7202 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.226e-05/0.4273, allocations: 31.27 kB / 0.7203 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.263e-05/0.4273, allocations: 7.469 kB / 0.7203 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.492e-05/0.4274, allocations: 111.1 kB / 0.7204 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.4274, allocations: 1.625 kB / 0.7204 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.4274, allocations: 2.188 kB / 0.7204 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.4275, allocations: 77.08 kB / 0.7205 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.4276, allocations: 5.062 kB / 0.7205 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.4276, allocations: 0 / 0.7205 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4276, allocations: 1.781 kB / 0.7205 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.4277, allocations: 62.69 kB / 0.7205 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/0.428, allocations: 231.8 kB / 0.7207 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.4281, allocations: 62.2 kB / 0.7208 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.504e-05/0.4282, allocations: 37.08 kB / 0.7208 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.4282, allocations: 1.219 kB / 0.7208 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.4282, allocations: 36.42 kB / 0.7209 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.4282, allocations: 3.938 kB / 0.7209 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003076/0.4285, allocations: 128.8 kB / 0.721 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.4285, allocations: 52.59 kB / 0.7211 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.161e-05/0.4286, allocations: 123.8 kB / 0.7212 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.461e-06/0.4286, allocations: 25.7 kB / 0.7212 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.111e-05/0.4286, allocations: 87.92 kB / 0.7213 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.4286, allocations: 17.53 kB / 0.7213 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.4287, allocations: 13.56 kB / 0.7213 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.984e-05/0.4287, allocations: 318.8 kB / 0.7216 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.362e-05/0.4288, allocations: 35.2 kB / 0.7216 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.657e-05/0.4288, allocations: 31.41 kB / 0.7217 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.429, allocations: 70.08 kB / 0.7217 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.429, allocations: 1.094 kB / 0.7217 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001721/0.4291, allocations: 98.33 kB / 0.7218 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4291, allocations: 5.688 kB / 0.7218 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.4292, allocations: 48 / 0.7218 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4292, allocations: 5.109 kB / 0.7219 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.511e-05/0.4293, allocations: 19.14 kB / 0.7219 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4293, allocations: 0.9062 kB / 0.7219 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.843e-05/0.4293, allocations: 15.48 kB / 0.7219 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.4293, allocations: 1.703 kB / 0.7219 GB, free: 20.41 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.191e-05/0.4293, allocations: 118 kB / 0.722 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.4294, allocations: 6.391 kB / 0.722 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.4296, allocations: 100.8 kB / 0.7221 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4296, allocations: 1.125 kB / 0.7221 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4296, allocations: 0 / 0.7221 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4296, allocations: 5.156 kB / 0.7221 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.985e-05/0.4297, allocations: 138.4 kB / 0.7222 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4297, allocations: 0 / 0.7222 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.4297, allocations: 19.12 kB / 0.7223 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.4297, allocations: 0.5156 kB / 0.7223 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.4297, allocations: 1.062 kB / 0.7223 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4297, allocations: 0.7969 kB / 0.7223 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4297, allocations: 1.094 kB / 0.7223 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.4299, allocations: 202.7 kB / 0.7225 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.4299, allocations: 1.688 kB / 0.7225 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.4299, allocations: 5.562 kB / 0.7225 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.481e-05/0.43, allocations: 11.06 kB / 0.7225 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.43, allocations: 8.859 kB / 0.7225 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.43, allocations: 1.062 kB / 0.7225 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.156e-05/0.43, allocations: 84.48 kB / 0.7226 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.43, allocations: 0 / 0.7226 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001417/0.4302, allocations: 14.62 kB / 0.7226 GB, free: 19.82 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000267/0.4304, allocations: 0.7275 MB / 0.7233 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001774/0.4306, allocations: 70.53 kB / 0.7234 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4306, allocations: 0 / 0.7234 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.242e-05/0.4307, allocations: 41.22 kB / 0.7234 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.4309, allocations: 9.016 kB / 0.7234 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.4312, allocations: 157.8 kB / 0.7236 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.306e-05/0.4313, allocations: 64.58 kB / 0.7236 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.277e-05/0.4313, allocations: 6.141 kB / 0.7236 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.4313, allocations: 15.41 kB / 0.7236 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of SimCode: time 4.41e-07/0.4313, allocations: 0 / 0.7236 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01503/0.4464, allocations: 2.301 MB / 0.7259 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.916/7.362, allocations: 3.75 kB / 0.7259 GB, free: 17.97 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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_Reals_Validation_Max.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.122819856973365] Failed to read output from testmodel.py, exit status != 0: 7.439501467975788 7.450231545 7.021178678 Calling exit ...