Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.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.0009038/0.0009038, allocations: 72.47 kB / 19.14 MB, free: 0.7656 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.001044/0.001044, allocations: 161.9 kB / 22.43 MB, free: 2.133 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.8669/0.8669, allocations: 177.2 MB / 202.8 MB, free: 5.754 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.6931/0.6931, allocations: 154.7 MB / 413.9 MB, free: 0.7578 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.Reals.Validation.Cos,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Cos",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.0009574/0.0009574, allocations: 62.44 kB / 0.6184 GB, free: 13.56 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.4641/0.4651, allocations: 102 MB / 0.7179 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001347/0.4664, allocations: 0.6543 MB / 0.7186 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007471/0.4672, allocations: 0.844 MB / 0.7194 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.523e-05/0.4672, allocations: 1.25 kB / 0.7194 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.4672, allocations: 4.734 kB / 0.7194 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.747e-05/0.4673, allocations: 1.312 kB / 0.7194 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.4675, allocations: 16.36 kB / 0.7194 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.354e-05/0.4675, allocations: 29.69 kB / 0.7195 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.52e-05/0.4676, allocations: 6.641 kB / 0.7195 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.397e-05/0.4677, allocations: 16.03 kB / 0.7195 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.33e-05/0.4677, allocations: 12.89 kB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.4677, allocations: 2.656 kB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.192e-05/0.4678, allocations: 4.781 kB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.4678, allocations: 1.891 kB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.4678, allocations: 6.766 kB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.4679, allocations: 33.86 kB / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4679, allocations: 0.6562 kB / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4679, allocations: 0 / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.4679, allocations: 1.406 kB / 0.7195 GB, free: 22.23 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002946/0.4682, allocations: 266.5 kB / 0.7198 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4683, allocations: 9.75 kB / 0.7198 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.091e-05/0.4683, allocations: 32.84 kB / 0.7198 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.4683, allocations: 6.516 kB / 0.7198 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.945e-05/0.4684, allocations: 106.2 kB / 0.7199 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.4684, allocations: 2.156 kB / 0.7199 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.4684, allocations: 1.5 kB / 0.72 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.4686, allocations: 56.94 kB / 0.72 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.4686, allocations: 3.938 kB / 0.72 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.4686, allocations: 0.9062 kB / 0.72 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.4686, allocations: 4.906 kB / 0.72 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.88e-05/0.4687, allocations: 33.22 kB / 0.72 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.4689, allocations: 214.5 kB / 0.7203 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.244e-05/0.469, allocations: 44.67 kB / 0.7203 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.476e-05/0.4691, allocations: 22.2 kB / 0.7203 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.4691, allocations: 1.891 kB / 0.7203 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.4691, allocations: 35.81 kB / 0.7203 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.4691, allocations: 0 / 0.7203 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002267/0.4693, allocations: 80.45 kB / 0.7204 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.4693, allocations: 53.3 kB / 0.7205 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.889e-05/0.4694, allocations: 104.8 kB / 0.7206 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.049e-06/0.4694, allocations: 25.7 kB / 0.7206 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.288e-05/0.4694, allocations: 86.11 kB / 0.7207 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.4694, allocations: 5.812 kB / 0.7207 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.4695, allocations: 24.58 kB / 0.7207 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.402e-05/0.4695, allocations: 313.2 kB / 0.721 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.4695, allocations: 14.17 kB / 0.721 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/0.4696, allocations: 18.42 kB / 0.721 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.808e-05/0.4696, allocations: 37.92 kB / 0.7211 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4696, allocations: 3.938 kB / 0.7211 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.83e-05/0.4697, allocations: 71.39 kB / 0.7212 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.4698, allocations: 6.047 kB / 0.7212 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4698, allocations: 0 / 0.7212 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.4698, allocations: 0 / 0.7212 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.85e-05/0.4699, allocations: 18.48 kB / 0.7212 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.4699, allocations: 0 / 0.7212 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.211e-05/0.4699, allocations: 5.344 kB / 0.7212 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.4699, allocations: 1.344 kB / 0.7212 GB, free: 20.68 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 (2): * Single equations (assignments): 2 * 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 3.796e-05/0.4699, allocations: 122.2 kB / 0.7213 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.4699, allocations: 0 / 0.7213 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.4701, allocations: 73.47 kB / 0.7214 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4701, allocations: 0 / 0.7214 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4701, allocations: 0 / 0.7214 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4701, allocations: 5.344 kB / 0.7214 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.928e-05/0.4702, allocations: 129.7 kB / 0.7215 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4702, allocations: 0 / 0.7215 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.927e-05/0.4702, allocations: 12.67 kB / 0.7215 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4702, allocations: 0 / 0.7215 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.4702, allocations: 0.6562 kB / 0.7215 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4702, allocations: 5.031 kB / 0.7215 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4702, allocations: 0 / 0.7215 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.4703, allocations: 164.1 kB / 0.7217 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-06/0.4703, allocations: 5.75 kB / 0.7217 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.4703, allocations: 0.9062 kB / 0.7217 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.821e-05/0.4704, allocations: 10.81 kB / 0.7217 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.4704, allocations: 6.344 kB / 0.7217 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.4704, allocations: 1.656 kB / 0.7217 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.625e-05/0.4704, allocations: 80.27 kB / 0.7218 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4704, allocations: 0 / 0.7218 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001337/0.4706, allocations: 3.438 kB / 0.7218 GB, free: 20.11 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 (2): * Single equations (assignments): 2 * 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.0002223/0.4708, allocations: 0.695 MB / 0.7225 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.4709, allocations: 36.36 kB / 0.7225 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.4709, allocations: 0 / 0.7225 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.221e-05/0.4709, allocations: 19.91 kB / 0.7225 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.4712, allocations: 6.797 kB / 0.7225 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.4715, allocations: 147.9 kB / 0.7227 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.579e-05/0.4715, allocations: 63.08 kB / 0.7227 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.936e-05/0.4716, allocations: 1.766 kB / 0.7227 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.4716, allocations: 14.56 kB / 0.7227 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of SimCode: time 7.51e-07/0.4716, allocations: 1.25 kB / 0.7227 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01561/0.4872, allocations: 1.916 MB / 0.7246 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.624/7.112, allocations: 10.81 kB / 0.7246 GB, free: 18.3 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos_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_Reals_Validation_Cos.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.82496275997255] Failed to read output from testmodel.py, exit status != 0: 7.188645766000263 7.20273606 6.732403679 Calling exit ...