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.001402/0.001402, 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.001005/0.001005, allocations: 211.6 kB / 22.25 MB, free: 3.586 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 1.009/1.009, allocations: 230.6 MB / 256 MB, free: 9.438 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.8266/0.8266, allocations: 203.5 MB / 0.5039 GB, free: 10.7 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.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.001153/0.001153, allocations: 69.69 kB / 0.7178 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4953, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001378/0.4967, allocations: 0.6521 MB / 0.8181 GB, free: 0.8359 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006822/0.4974, allocations: 0.8453 MB / 0.8189 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.19e-05/0.4974, allocations: 0 / 0.8189 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.4974, allocations: 0 / 0.8189 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.784e-05/0.4975, allocations: 7.938 kB / 0.8189 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.4977, allocations: 15.41 kB / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.536e-05/0.4978, allocations: 23.58 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.4979, allocations: 8.531 kB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.551e-05/0.4979, allocations: 5.406 kB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.595e-05/0.498, allocations: 18.11 kB / 0.819 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.498, allocations: 1.156 kB / 0.819 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.21e-05/0.498, allocations: 8.516 kB / 0.819 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.498, allocations: 5.922 kB / 0.819 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.005e-05/0.4981, allocations: 7.156 kB / 0.819 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.4982, allocations: 27.62 kB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4982, allocations: 9.688 kB / 0.819 GB, free: 136 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4982, allocations: 0 / 0.819 GB, free: 136 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.4982, allocations: 0 / 0.819 GB, free: 136 kB / 0.6042 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.0003493/0.4985, allocations: 258.1 kB / 0.8193 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.4986, allocations: 10.88 kB / 0.8193 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.891e-05/0.4986, allocations: 34.75 kB / 0.8193 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.229e-05/0.4987, allocations: 4.469 kB / 0.8193 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.836e-05/0.4988, allocations: 113.8 kB / 0.8194 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.4988, allocations: 1.219 kB / 0.8194 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.4988, allocations: 6.375 kB / 0.8194 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.4989, allocations: 52.09 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.4989, allocations: 5.125 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.4989, allocations: 0 / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4989, allocations: 4.734 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.468e-05/0.499, allocations: 34.69 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.4993, allocations: 213.6 kB / 0.8197 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.286e-05/0.4994, allocations: 43.75 kB / 0.8198 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.963e-05/0.4995, allocations: 22.95 kB / 0.8198 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.4995, allocations: 4.172 kB / 0.8198 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.4995, allocations: 35.06 kB / 0.8198 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.4995, allocations: 0 / 0.8198 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002252/0.4997, allocations: 76.25 kB / 0.8199 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.4998, allocations: 55.41 kB / 0.82 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.704e-05/0.4998, allocations: 101.9 kB / 0.82 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.4998, allocations: 25.7 kB / 0.8201 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.4999, allocations: 87.59 kB / 0.8202 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.4999, allocations: 4.469 kB / 0.8202 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.4999, allocations: 13.44 kB / 0.8202 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.5, allocations: 319.6 kB / 0.8205 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.807e-05/0.5001, allocations: 15.88 kB / 0.8205 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.913e-05/0.5001, allocations: 17.27 kB / 0.8205 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.458e-05/0.5002, allocations: 45.45 kB / 0.8206 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5002, allocations: 3.938 kB / 0.8206 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001107/0.5003, allocations: 68.38 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.5003, allocations: 5.078 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5003, allocations: 0 / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.5003, allocations: 0 / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.744e-05/0.5004, allocations: 15.28 kB / 0.8206 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.5004, allocations: 0 / 0.8206 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.432e-05/0.5004, allocations: 11.78 kB / 0.8207 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.5004, allocations: 0.5625 kB / 0.8207 GB, free: 14.58 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: 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 5.284e-05/0.5005, allocations: 110.6 kB / 0.8208 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.5005, allocations: 5.375 kB / 0.8208 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.5006, allocations: 79.72 kB / 0.8208 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5006, allocations: 0 / 0.8208 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5006, allocations: 4.641 kB / 0.8208 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.5007, allocations: 2.875 kB / 0.8208 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.5008, allocations: 128.1 kB / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.5008, allocations: 0 / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.5008, allocations: 9.312 kB / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.5008, allocations: 0 / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.5008, allocations: 4.5 kB / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5008, allocations: 0 / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.5008, allocations: 4.406 kB / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.5009, allocations: 171.9 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-06/0.501, allocations: 8.75 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.501, allocations: 0.6094 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.861e-05/0.501, allocations: 6.203 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.501, allocations: 2.484 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.501, allocations: 1.156 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.119e-05/0.5011, allocations: 84.09 kB / 0.8213 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5011, allocations: 0 / 0.8213 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001413/0.5012, allocations: 5 kB / 0.8213 GB, free: 14.01 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: 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.0003583/0.5016, allocations: 0.6975 MB / 0.8219 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001406/0.5017, allocations: 37.25 kB / 0.822 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5017, allocations: 0 / 0.822 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.459e-05/0.5018, allocations: 21.05 kB / 0.822 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.502, allocations: 6.719 kB / 0.822 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.5024, allocations: 137.5 kB / 0.8221 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.688e-05/0.5024, allocations: 58.92 kB / 0.8222 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.298e-05/0.5025, allocations: 6.062 kB / 0.8222 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.5025, allocations: 12.66 kB / 0.8222 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.5025, allocations: 0 / 0.8222 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.5198, allocations: 1.798 MB / 0.824 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.624/7.144, allocations: 9.844 kB / 0.824 GB, free: 12.24 MB / 0.6198 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: 10.265900808852166] Failed to read output from testmodel.py, exit status != 0: 7.22505312692374 7.240972875 6.740554031 Calling exit ...