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.0008539/0.0008539, allocations: 101.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.0009749/0.0009749, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9599/0.9599, allocations: 230.6 MB / 256 MB, free: 9.594 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.7823/0.7823, allocations: 203.5 MB / 0.5039 GB, free: 10.73 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.0009287/0.0009287, allocations: 70.39 kB / 0.7178 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5363/0.5372, allocations: 102 MB / 0.8174 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001497/0.5387, allocations: 0.6568 MB / 0.8181 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007754/0.5395, allocations: 0.8472 MB / 0.8189 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.181e-05/0.5395, allocations: 3.5 kB / 0.8189 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.5396, allocations: 0 / 0.8189 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.365e-05/0.5396, allocations: 3.938 kB / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.5398, allocations: 14.45 kB / 0.8189 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.093e-05/0.5399, allocations: 23.09 kB / 0.8189 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.54, allocations: 5.75 kB / 0.8189 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.09e-05/0.5401, allocations: 11.89 kB / 0.8189 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.835e-05/0.5401, allocations: 12.44 kB / 0.819 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.5401, allocations: 6.812 kB / 0.819 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.897e-05/0.5402, allocations: 9.109 kB / 0.819 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.5402, allocations: 0.75 kB / 0.819 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.5402, allocations: 12.23 kB / 0.819 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.5403, allocations: 27.42 kB / 0.819 GB, free: 132 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.5403, allocations: 0 / 0.819 GB, free: 132 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.535e-06/0.5403, allocations: 2.625 kB / 0.819 GB, free: 132 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.5403, allocations: 0 / 0.819 GB, free: 132 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.0004275/0.5408, allocations: 261.7 kB / 0.8193 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.5408, allocations: 14.88 kB / 0.8193 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.603e-05/0.5409, allocations: 31.59 kB / 0.8193 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.946e-05/0.5409, allocations: 2.188 kB / 0.8193 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.5411, allocations: 114.6 kB / 0.8194 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.5411, allocations: 1.469 kB / 0.8194 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.5411, allocations: 1.5 kB / 0.8194 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.5413, allocations: 49.84 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5413, allocations: 11.86 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.5413, allocations: 0 / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.5413, allocations: 2.719 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.5414, allocations: 35.3 kB / 0.8195 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.5418, allocations: 214.6 kB / 0.8197 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.765e-05/0.5419, allocations: 41.39 kB / 0.8198 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.5419, allocations: 19.38 kB / 0.8198 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.5419, allocations: 3.938 kB / 0.8198 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.542, allocations: 36.19 kB / 0.8198 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.542, allocations: 3.062 kB / 0.8198 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000259/0.5422, allocations: 80.69 kB / 0.8199 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.5423, allocations: 55.36 kB / 0.82 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.086e-05/0.5423, allocations: 101.2 kB / 0.82 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.5423, allocations: 30.2 kB / 0.8201 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/0.5424, allocations: 81.03 kB / 0.8202 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.5424, allocations: 10.77 kB / 0.8202 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.5424, allocations: 10.7 kB / 0.8202 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.5425, allocations: 319.4 kB / 0.8205 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.68e-05/0.5426, allocations: 15.81 kB / 0.8205 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.144e-05/0.5426, allocations: 18.81 kB / 0.8205 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.5427, allocations: 36.91 kB / 0.8205 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.5427, allocations: 9.125 kB / 0.8206 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001329/0.5429, allocations: 70.97 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.5429, allocations: 5.797 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5429, allocations: 0 / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.5429, allocations: 0 / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.108e-05/0.543, allocations: 14.11 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.543, allocations: 3.984 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.232e-05/0.543, allocations: 10.02 kB / 0.8207 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.5431, allocations: 1.438 kB / 0.8207 GB, free: 14.56 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 6.735e-05/0.5431, allocations: 118.2 kB / 0.8208 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.5431, allocations: 4.594 kB / 0.8208 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.5433, allocations: 75.08 kB / 0.8208 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5433, allocations: 1.406 kB / 0.8208 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.5433, allocations: 0 / 0.8208 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5433, allocations: 0 / 0.8208 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.5435, allocations: 132.1 kB / 0.821 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5435, allocations: 0 / 0.821 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.5435, allocations: 5.641 kB / 0.821 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.5435, allocations: 6.469 kB / 0.821 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.5435, allocations: 0.6094 kB / 0.821 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.5435, allocations: 0 / 0.821 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5435, allocations: 0.7031 kB / 0.821 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.5437, allocations: 170.9 kB / 0.8211 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.5437, allocations: 3.953 kB / 0.8212 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.5437, allocations: 4.062 kB / 0.8212 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.978e-05/0.5438, allocations: 5.938 kB / 0.8212 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.5438, allocations: 5.391 kB / 0.8212 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.5438, allocations: 0 / 0.8212 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.423e-05/0.5439, allocations: 88.28 kB / 0.8213 GB, free: 14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5439, allocations: 0 / 0.8213 GB, free: 14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001535/0.544, allocations: 8.469 kB / 0.8213 GB, free: 13.99 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.0005193/0.5446, allocations: 0.6935 MB / 0.8219 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.5448, allocations: 36.86 kB / 0.822 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.5448, allocations: 1.312 kB / 0.822 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.852e-05/0.5448, allocations: 15.5 kB / 0.822 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.5451, allocations: 4.109 kB / 0.822 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.5455, allocations: 140.3 kB / 0.8221 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.965e-05/0.5456, allocations: 63.38 kB / 0.8222 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.846e-05/0.5456, allocations: 7.859 kB / 0.8222 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.5457, allocations: 8.141 kB / 0.8222 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of SimCode: time 4.51e-07/0.5457, allocations: 0 / 0.8222 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.5648, allocations: 1.801 MB / 0.824 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.252/7.817, allocations: 18.58 kB / 0.824 GB, free: 12.22 MB / 0.6198 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.7371787391603] Failed to read output from testmodel.py, exit status != 0: 7.893880283925682 7.907941497 7.364631118 Calling exit ...