Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.001142/0.001142, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001068/0.001068, allocations: 208.1 kB / 22.25 MB, free: 3.574 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.9718/0.9718, allocations: 230.6 MB / 256 MB, free: 9.617 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.7828/0.7828, allocations: 203.5 MB / 0.5039 GB, free: 10.77 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.Integers.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.0009493/0.0009493, allocations: 74.23 kB / 0.7178 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.4889, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001196/0.4901, allocations: 0.5338 MB / 0.8179 GB, free: 0.918 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.642e-05/0.4901, allocations: 7.688 kB / 0.8179 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.4901, allocations: 0 / 0.8179 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.4902, allocations: 7.875 kB / 0.8179 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.356e-05/0.4902, allocations: 4 kB / 0.8179 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.762e-05/0.4902, allocations: 0 / 0.8179 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.336e-05/0.4903, allocations: 0.6094 kB / 0.8179 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.4903, allocations: 6.75 kB / 0.8179 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.502e-05/0.4903, allocations: 3.984 kB / 0.8179 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.039e-05/0.4903, allocations: 0 / 0.8179 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.4904, allocations: 3.938 kB / 0.8179 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.466e-06/0.4904, allocations: 0 / 0.8179 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.4904, allocations: 0 / 0.8179 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.4904, allocations: 2.781 kB / 0.8179 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.97e-05/0.4904, allocations: 5.641 kB / 0.818 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.4905, allocations: 4 kB / 0.818 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4905, allocations: 0.5625 kB / 0.818 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.4905, allocations: 0 / 0.818 GB, free: 0.8867 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001901/0.4906, allocations: 239.9 kB / 0.8182 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.4907, allocations: 11.72 kB / 0.8182 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.911e-05/0.4907, allocations: 31.73 kB / 0.8182 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.664e-05/0.4907, allocations: 0.9375 kB / 0.8182 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.268e-05/0.4908, allocations: 111.2 kB / 0.8183 GB, free: 472 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.4908, allocations: 384 / 0.8183 GB, free: 472 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-06/0.4908, allocations: 384 / 0.8183 GB, free: 472 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.129e-05/0.4909, allocations: 34.27 kB / 0.8184 GB, free: 432 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.4909, allocations: 7.625 kB / 0.8184 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.4909, allocations: 0 / 0.8184 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4909, allocations: 0 / 0.8184 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.245e-05/0.4909, allocations: 0 / 0.8184 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.4911, allocations: 351.6 kB / 0.8187 GB, free: 40 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.4914, allocations: 178.9 kB / 0.8189 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.4914, allocations: 80.14 kB / 0.819 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.4914, allocations: 75.84 kB / 0.819 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.4915, allocations: 108 kB / 0.8191 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.4915, allocations: 4 kB / 0.8191 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.514e-05/0.4915, allocations: 32.5 kB / 0.8192 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.4916, allocations: 131.6 kB / 0.8193 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.154e-05/0.4916, allocations: 94.39 kB / 0.8194 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.4916, allocations: 26.41 kB / 0.8194 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.02e-05/0.4917, allocations: 80.14 kB / 0.8195 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.4917, allocations: 1.906 kB / 0.8195 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.476e-05/0.4917, allocations: 10.38 kB / 0.8195 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.4917, allocations: 317.3 kB / 0.8198 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-06/0.4917, allocations: 0 / 0.8198 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-06/0.4917, allocations: 8.062 kB / 0.8198 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.4918, allocations: 77.28 kB / 0.8199 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.785e-05/0.4918, allocations: 79.22 kB / 0.82 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.649e-05/0.4918, allocations: 37.08 kB / 0.82 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.4919, allocations: 85.03 kB / 0.8201 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.4919, allocations: 78 kB / 0.8201 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.004e-05/0.4919, allocations: 153.5 kB / 0.8203 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.763e-05/0.4919, allocations: 81.28 kB / 0.8204 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.205e-05/0.492, allocations: 151.4 kB / 0.8205 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.283e-05/0.492, allocations: 81.5 kB / 0.8206 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.492, allocations: 81.47 kB / 0.8207 GB, free: 13.98 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 (0): * Single equations (assignments): 0 * 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 7.479e-05/0.4921, allocations: 267.7 kB / 0.8209 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.4921, allocations: 101.6 kB / 0.821 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.4922, allocations: 114.7 kB / 0.8211 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.879e-05/0.4922, allocations: 183.1 kB / 0.8213 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.183e-05/0.4922, allocations: 185 kB / 0.8215 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.712e-05/0.4923, allocations: 180.9 kB / 0.8217 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.4924, allocations: 374.2 kB / 0.822 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.248e-05/0.4924, allocations: 105.6 kB / 0.8221 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.209e-05/0.4925, allocations: 101.7 kB / 0.8222 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.141e-05/0.4925, allocations: 187.4 kB / 0.8224 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.4925, allocations: 185.5 kB / 0.8226 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.839e-05/0.4926, allocations: 183.6 kB / 0.8227 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.872e-05/0.4926, allocations: 181.2 kB / 0.8229 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.598e-05/0.4927, allocations: 310.8 kB / 0.8232 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.4927, allocations: 103.4 kB / 0.8233 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/0.4928, allocations: 178.6 kB / 0.8235 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.722e-05/0.4928, allocations: 111.2 kB / 0.8236 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.4929, allocations: 182.4 kB / 0.8238 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.4929, allocations: 106.2 kB / 0.8239 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.764e-05/0.4929, allocations: 78.84 kB / 0.8239 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4929, allocations: 4.094 kB / 0.8239 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001607/0.4931, allocations: 1.156 kB / 0.8239 GB, free: 10.48 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 (0): * Single equations (assignments): 0 * 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.0003116/0.4934, allocations: 0.8074 MB / 0.8247 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.928e-05/0.4934, allocations: 3.938 kB / 0.8247 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4935, allocations: 2.375 kB / 0.8247 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.4935, allocations: 0 / 0.8247 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.4937, allocations: 456.5 kB / 0.8252 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.4947, allocations: 1.539 MB / 0.8267 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.503e-05/0.4948, allocations: 55.16 kB / 0.8267 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.265e-06/0.4948, allocations: 0.9375 kB / 0.8267 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.4948, allocations: 13.12 kB / 0.8267 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of SimCode: time 9.12e-07/0.4948, allocations: 0 / 0.8267 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.51, allocations: 1.403 MB / 0.8281 GB, free: 6.734 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.665/7.175, allocations: 7.703 kB / 0.8281 GB, free: 6.73 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant_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_Integers_Sources_Validation_Constant.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.105341807939112] Failed to read output from testmodel.py, exit status != 0: 7.25060705980286 7.263935534 6.770784193 Calling exit ...