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.001244/0.001244, allocations: 72.45 kB / 19.02 MB, free: 1.129 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.00143/0.00143, allocations: 163.2 kB / 22.29 MB, free: 3.523 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.425/1.425, allocations: 177.2 MB / 202.7 MB, free: 4.82 MB / 186.7 MB " [Timeout remaining time 178] 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 1.268/1.268, allocations: 154.7 MB / 413.8 MB, free: 3.137 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.002083/0.002083, allocations: 67.06 kB / 0.6181 GB, free: 1.055 MB / 0.5105 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.2125/0.2146, allocations: 102 MB / 0.7177 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001972/0.2166, allocations: 0.6519 MB / 0.7183 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.2178, allocations: 0.8437 MB / 0.7192 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.2179, allocations: 0 / 0.7192 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.2179, allocations: 3.938 kB / 0.7192 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.218, allocations: 3.938 kB / 0.7192 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.2182, allocations: 19.98 kB / 0.7192 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.724e-05/0.2183, allocations: 23.88 kB / 0.7192 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.2184, allocations: 7.984 kB / 0.7192 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.825e-05/0.2185, allocations: 8 kB / 0.7192 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.394e-05/0.2185, allocations: 19.91 kB / 0.7193 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.2186, allocations: 0 / 0.7193 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.936e-05/0.2186, allocations: 4 kB / 0.7193 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.2186, allocations: 4 kB / 0.7193 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.2186, allocations: 11.92 kB / 0.7193 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.2188, allocations: 24.19 kB / 0.7193 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2188, allocations: 4 kB / 0.7193 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2188, allocations: 0 / 0.7193 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.2188, allocations: 0 / 0.7193 GB, free: 9.539 MB / 0.6198 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.000491/0.2193, allocations: 262.3 kB / 0.7195 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.2193, allocations: 8.031 kB / 0.7196 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.991e-05/0.2194, allocations: 42.69 kB / 0.7196 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.283e-05/0.2194, allocations: 4.938 kB / 0.7196 GB, free: 9.188 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.2196, allocations: 114.4 kB / 0.7197 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.2196, allocations: 8.312 kB / 0.7197 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.2196, allocations: 384 / 0.7197 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.2198, allocations: 54.23 kB / 0.7198 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.2198, allocations: 3.938 kB / 0.7198 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.2198, allocations: 0 / 0.7198 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2198, allocations: 0 / 0.7198 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.22, allocations: 31.97 kB / 0.7198 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.2204, allocations: 220 kB / 0.72 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.2205, allocations: 38.5 kB / 0.72 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.31e-05/0.2206, allocations: 28.84 kB / 0.7201 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.2206, allocations: 0 / 0.7201 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.2207, allocations: 38.55 kB / 0.7201 GB, free: 8.566 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.2207, allocations: 0 / 0.7201 GB, free: 8.566 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000374/0.2211, allocations: 77.59 kB / 0.7202 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.2211, allocations: 51.41 kB / 0.7202 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.536e-05/0.2212, allocations: 102 kB / 0.7203 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.2212, allocations: 29.7 kB / 0.7204 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.2213, allocations: 88.14 kB / 0.7204 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.2213, allocations: 3.953 kB / 0.7204 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.2213, allocations: 13.7 kB / 0.7205 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2215, allocations: 318.8 kB / 0.7208 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.569e-05/0.2216, allocations: 11.98 kB / 0.7208 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.149e-05/0.2217, allocations: 11.98 kB / 0.7208 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.2218, allocations: 48.88 kB / 0.7208 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2218, allocations: 3.938 kB / 0.7208 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001962/0.222, allocations: 69.75 kB / 0.7209 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.222, allocations: 5.875 kB / 0.7209 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.222, allocations: 0 / 0.7209 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2221, allocations: 3.984 kB / 0.7209 GB, free: 7.684 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.178e-05/0.2222, allocations: 11.98 kB / 0.7209 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.2222, allocations: 4.031 kB / 0.7209 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.2222, allocations: 7.984 kB / 0.7209 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.2222, allocations: 0 / 0.7209 GB, free: 7.66 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 0.0001059/0.2223, allocations: 113.8 kB / 0.721 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.2223, allocations: 0 / 0.721 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.2226, allocations: 72.91 kB / 0.7211 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2226, allocations: 7.938 kB / 0.7211 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2226, allocations: 3.984 kB / 0.7211 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.2226, allocations: 4.031 kB / 0.7211 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.2228, allocations: 124.7 kB / 0.7213 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2228, allocations: 0 / 0.7213 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.085e-05/0.2228, allocations: 11.98 kB / 0.7213 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2228, allocations: 0 / 0.7213 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.2228, allocations: 0 / 0.7213 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.2228, allocations: 4 kB / 0.7213 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2228, allocations: 0 / 0.7213 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.2231, allocations: 167.5 kB / 0.7214 GB, free: 7.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.2231, allocations: 7.953 kB / 0.7214 GB, free: 7.082 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.2231, allocations: 3.984 kB / 0.7214 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.528e-05/0.2232, allocations: 4 kB / 0.7214 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.2233, allocations: 3.938 kB / 0.7214 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.2233, allocations: 7.922 kB / 0.7215 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.945e-05/0.2233, allocations: 83.28 kB / 0.7215 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2233, allocations: 0 / 0.7215 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000211/0.2235, allocations: 4 kB / 0.7215 GB, free: 6.977 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.0006358/0.2242, allocations: 0.6929 MB / 0.7222 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.2244, allocations: 35.95 kB / 0.7222 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2244, allocations: 3.938 kB / 0.7223 GB, free: 6.215 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.058e-05/0.2245, allocations: 19.98 kB / 0.7223 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.2248, allocations: 6.266 kB / 0.7223 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.2253, allocations: 139.7 kB / 0.7224 GB, free: 6.012 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.745e-05/0.2254, allocations: 63.34 kB / 0.7225 GB, free: 5.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.2254, allocations: 0 / 0.7225 GB, free: 5.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.254e-05/0.2254, allocations: 12.5 kB / 0.7225 GB, free: 5.914 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.2254, allocations: 0 / 0.7225 GB, free: 5.914 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0373/0.2627, allocations: 1.923 MB / 0.7244 GB, free: 4.098 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.35, allocations: 7.219 kB / 0.7244 GB, free: 4.094 MB / 0.6198 GB " [Timeout remaining time 649] (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: 15.418298834003508] Failed to read output from testmodel.py, exit status != 0: 11.472070062009152 11.496403572 11.273099333 Calling exit ...