Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.001431/0.001431, allocations: 75.73 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.001473/0.001473, allocations: 158.9 kB / 22.29 MB, free: 3.539 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.411/1.411, allocations: 177.2 MB / 202.7 MB, free: 4.816 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.2/1.2, allocations: 154.7 MB / 413.8 MB, free: 3.152 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.MatrixMin,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMin",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.00225/0.00225, allocations: 66.08 kB / 0.6181 GB, free: 0.9258 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.2096/0.2119, allocations: 102 MB / 0.7177 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002323/0.2142, allocations: 0.7202 MB / 0.7184 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002838/0.2145, allocations: 59.83 kB / 0.7185 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.462e-05/0.2145, allocations: 3.938 kB / 0.7185 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.2147, allocations: 19.86 kB / 0.7185 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.183e-05/0.2148, allocations: 11.92 kB / 0.7185 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.2149, allocations: 31.95 kB / 0.7185 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.2151, allocations: 123.7 kB / 0.7186 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002738/0.2154, allocations: 88.91 kB / 0.7187 GB, free: 10 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.2156, allocations: 99.75 kB / 0.7188 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.2157, allocations: 87.56 kB / 0.7189 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.426e-05/0.2158, allocations: 15.98 kB / 0.7189 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.293e-05/0.2158, allocations: 12 kB / 0.7189 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.924e-05/0.2159, allocations: 55.86 kB / 0.719 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.2161, allocations: 67.55 kB / 0.7191 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.2164, allocations: 239 kB / 0.7193 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2164, allocations: 0 / 0.7193 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2164, allocations: 0 / 0.7193 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.2164, allocations: 0 / 0.7193 GB, free: 9.438 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006693/0.2171, allocations: 433.6 kB / 0.7197 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.2171, allocations: 12.03 kB / 0.7197 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.771e-05/0.2172, allocations: 54.73 kB / 0.7198 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.347e-05/0.2172, allocations: 24.8 kB / 0.7198 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.2176, allocations: 202.9 kB / 0.72 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.2177, allocations: 16.75 kB / 0.72 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.2177, allocations: 16.38 kB / 0.72 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/0.2183, allocations: 349.3 kB / 0.7203 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.2183, allocations: 0 / 0.7203 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.2183, allocations: 8 kB / 0.7204 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-05/0.2184, allocations: 19.94 kB / 0.7204 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004533/0.2188, allocations: 267.8 kB / 0.7206 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.2205, allocations: 1.042 MB / 0.7216 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.2207, allocations: 165.1 kB / 0.7218 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.2207, allocations: 80.14 kB / 0.7219 GB, free: 6.641 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.2207, allocations: 83.28 kB / 0.722 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.123e-05/0.2208, allocations: 110 kB / 0.7221 GB, free: 6.441 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.633e-06/0.2208, allocations: 0 / 0.7221 GB, free: 6.441 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001528/0.221, allocations: 61.45 kB / 0.7221 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.6e-05/0.2211, allocations: 126.7 kB / 0.7222 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007372/0.2218, allocations: 0.4965 MB / 0.7227 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.2218, allocations: 25.7 kB / 0.7228 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.222, allocations: 171.9 kB / 0.7229 GB, free: 5.527 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-06/0.222, allocations: 0 / 0.7229 GB, free: 5.527 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.794e-05/0.222, allocations: 33.7 kB / 0.7229 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000198/0.2222, allocations: 338.8 kB / 0.7233 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.432e-05/0.2223, allocations: 55.95 kB / 0.7233 GB, free: 5.094 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.2224, allocations: 98.81 kB / 0.7234 GB, free: 4.973 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.2226, allocations: 118.7 kB / 0.7235 GB, free: 4.832 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2226, allocations: 0 / 0.7235 GB, free: 4.832 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003408/0.223, allocations: 193.2 kB / 0.7237 GB, free: 4.637 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.223, allocations: 11.94 kB / 0.7237 GB, free: 4.625 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.223, allocations: 0 / 0.7237 GB, free: 4.625 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.223, allocations: 4 kB / 0.7237 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.2231, allocations: 19.98 kB / 0.7237 GB, free: 4.602 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.2231, allocations: 7.938 kB / 0.7238 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.2232, allocations: 36.02 kB / 0.7238 GB, free: 4.559 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.2233, allocations: 12 kB / 0.7238 GB, free: 4.547 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001948/0.2235, allocations: 245.1 kB / 0.724 GB, free: 4.297 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.2236, allocations: 132.7 kB / 0.7242 GB, free: 4.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.375e-05/0.2237, allocations: 138.7 kB / 0.7243 GB, free: 4.016 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.551e-05/0.2237, allocations: 176.3 kB / 0.7245 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001073/0.2239, allocations: 192.2 kB / 0.7246 GB, free: 3.641 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001076/0.224, allocations: 180.3 kB / 0.7248 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.2244, allocations: 452.2 kB / 0.7252 GB, free: 2.965 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-05/0.2244, allocations: 101 kB / 0.7253 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.405e-05/0.2245, allocations: 104.9 kB / 0.7254 GB, free: 2.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.2246, allocations: 200.1 kB / 0.7256 GB, free: 2.547 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.2247, allocations: 176.8 kB / 0.7258 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001041/0.2248, allocations: 180.2 kB / 0.726 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002052/0.225, allocations: 180.3 kB / 0.7261 GB, free: 2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.2253, allocations: 327.9 kB / 0.7265 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.2254, allocations: 152.7 kB / 0.7266 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.2256, allocations: 188.2 kB / 0.7268 GB, free: 1.309 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.2257, allocations: 105 kB / 0.7269 GB, free: 1.199 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.2258, allocations: 180.2 kB / 0.7271 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.579e-05/0.2259, allocations: 108.9 kB / 0.7272 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004829/0.2264, allocations: 371 kB / 0.7275 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.2264, allocations: 0 / 0.7275 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003296/0.2267, allocations: 24 kB / 0.7275 GB, free: 0.5195 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.0005696/0.2273, allocations: 0.8281 MB / 0.7283 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001773/0.2275, allocations: 71.83 kB / 0.7284 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2275, allocations: 4 kB / 0.7284 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.424e-06/0.2275, allocations: 0 / 0.7284 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006544/0.2281, allocations: 485.7 kB / 0.7289 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/0.232, allocations: 3.293 MB / 0.7321 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.2322, allocations: 168.1 kB / 0.7323 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001109/0.2323, allocations: 49.61 kB / 0.7323 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.2324, allocations: 68.48 kB / 0.7324 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of SimCode: time 1.162e-06/0.2324, allocations: 3.938 kB / 0.7324 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03745/0.2699, allocations: 5.343 MB / 0.7376 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.55, allocations: 15.2 kB / 0.7376 GB, free: 6.164 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.570747081001173] Failed to read output from testmodel.py, exit status != 0: 11.655972883992945 11.674122443 11.45406706 Calling exit ...