Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.001353/0.001353, allocations: 68.47 kB / 19.02 MB, free: 1.125 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.001971/0.001971, allocations: 160.1 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.411/1.411, allocations: 177.2 MB / 202.7 MB, free: 4.832 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.223/1.223, allocations: 154.7 MB / 413.8 MB, free: 3.148 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.MatrixMax,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax",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.002225/0.002225, allocations: 71.48 kB / 0.6181 GB, free: 1.039 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.2254/0.2276, allocations: 102 MB / 0.7177 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002219/0.2299, allocations: 0.7107 MB / 0.7184 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002896/0.2302, allocations: 55.83 kB / 0.7185 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.037e-05/0.2302, allocations: 7.938 kB / 0.7185 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.2304, allocations: 15.8 kB / 0.7185 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.2304, allocations: 15.98 kB / 0.7185 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.2306, allocations: 23.97 kB / 0.7185 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.2309, allocations: 123.6 kB / 0.7186 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.2311, allocations: 96.89 kB / 0.7187 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.2312, allocations: 99.69 kB / 0.7188 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.2314, allocations: 79.64 kB / 0.7189 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.2314, allocations: 12 kB / 0.7189 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.521e-05/0.2314, allocations: 16 kB / 0.7189 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.2315, allocations: 59.83 kB / 0.719 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.2317, allocations: 71.55 kB / 0.7191 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.232, allocations: 227 kB / 0.7193 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.232, allocations: 0 / 0.7193 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.232, allocations: 0 / 0.7193 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.096e-06/0.232, allocations: 3.938 kB / 0.7193 GB, free: 9.555 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006381/0.2326, allocations: 437.6 kB / 0.7197 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2327, allocations: 12.03 kB / 0.7197 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.361e-05/0.2327, allocations: 54.73 kB / 0.7198 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.752e-05/0.2328, allocations: 32.78 kB / 0.7198 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.2332, allocations: 206.6 kB / 0.72 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.2332, allocations: 12.75 kB / 0.72 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.2332, allocations: 16.38 kB / 0.72 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.2338, allocations: 337.3 kB / 0.7203 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.2338, allocations: 4 kB / 0.7203 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.2338, allocations: 11.98 kB / 0.7204 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.2338, allocations: 12 kB / 0.7204 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.2342, allocations: 259.8 kB / 0.7206 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.2356, allocations: 1.03 MB / 0.7216 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.2357, allocations: 169.1 kB / 0.7218 GB, free: 6.855 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.2358, allocations: 88.14 kB / 0.7219 GB, free: 6.766 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.356e-05/0.2358, allocations: 75.28 kB / 0.7219 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.877e-05/0.2359, allocations: 106 kB / 0.722 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.2359, allocations: 0 / 0.722 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001121/0.236, allocations: 53.5 kB / 0.7221 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.099e-05/0.2361, allocations: 134.6 kB / 0.7222 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006494/0.2367, allocations: 0.5003 MB / 0.7227 GB, free: 5.863 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.2367, allocations: 25.7 kB / 0.7227 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.2369, allocations: 164 kB / 0.7229 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.2369, allocations: 0 / 0.7229 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.272e-05/0.237, allocations: 37.66 kB / 0.7229 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001987/0.2372, allocations: 338.8 kB / 0.7232 GB, free: 5.285 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.922e-05/0.2372, allocations: 55.89 kB / 0.7233 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.2374, allocations: 89.97 kB / 0.7234 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.2375, allocations: 109.8 kB / 0.7235 GB, free: 4.992 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2375, allocations: 0 / 0.7235 GB, free: 4.992 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003232/0.2379, allocations: 185.3 kB / 0.7237 GB, free: 4.805 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.2379, allocations: 7.938 kB / 0.7237 GB, free: 4.797 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2379, allocations: 7.938 kB / 0.7237 GB, free: 4.789 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2379, allocations: 0 / 0.7237 GB, free: 4.789 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.238, allocations: 19.98 kB / 0.7237 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.238, allocations: 7.938 kB / 0.7237 GB, free: 4.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.2381, allocations: 35.77 kB / 0.7237 GB, free: 4.727 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.2382, allocations: 8.219 kB / 0.7237 GB, free: 4.719 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0002093/0.2384, allocations: 253 kB / 0.724 GB, free: 4.461 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.2385, allocations: 128.7 kB / 0.7241 GB, free: 4.328 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.909e-05/0.2386, allocations: 142.7 kB / 0.7242 GB, free: 4.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.562e-05/0.2387, allocations: 180.2 kB / 0.7244 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.421e-05/0.2388, allocations: 180.2 kB / 0.7246 GB, free: 3.812 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.942e-05/0.2388, allocations: 180.3 kB / 0.7248 GB, free: 3.629 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003727/0.2392, allocations: 448.3 kB / 0.7252 GB, free: 3.141 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.882e-05/0.2393, allocations: 104.9 kB / 0.7253 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.544e-05/0.2393, allocations: 109 kB / 0.7254 GB, free: 2.918 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.51e-05/0.2394, allocations: 188.8 kB / 0.7256 GB, free: 2.727 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.2395, allocations: 180.2 kB / 0.7257 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.038e-05/0.2396, allocations: 180.3 kB / 0.7259 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.229e-05/0.2397, allocations: 184.2 kB / 0.7261 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.24, allocations: 327.9 kB / 0.7264 GB, free: 1.828 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.2401, allocations: 140.8 kB / 0.7265 GB, free: 1.684 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.2402, allocations: 188.2 kB / 0.7267 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.2404, allocations: 112.9 kB / 0.7268 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/0.2406, allocations: 176.3 kB / 0.727 GB, free: 1.195 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.434e-05/0.2406, allocations: 104.9 kB / 0.7271 GB, free: 1.086 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004312/0.2411, allocations: 367 kB / 0.7274 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2411, allocations: 4 kB / 0.7274 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003642/0.2414, allocations: 28 kB / 0.7275 GB, free: 0.6992 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.0006/0.242, allocations: 0.8281 MB / 0.7283 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.2422, allocations: 63.89 kB / 0.7283 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2422, allocations: 3.938 kB / 0.7283 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.767e-06/0.2422, allocations: 7.938 kB / 0.7284 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007103/0.2429, allocations: 484 kB / 0.7288 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/0.2469, allocations: 3.276 MB / 0.732 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.2471, allocations: 160.2 kB / 0.7322 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001389/0.2472, allocations: 49.61 kB / 0.7322 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.2474, allocations: 68.47 kB / 0.7323 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/0.2474, allocations: 4 kB / 0.7323 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03651/0.2839, allocations: 5.32 MB / 0.7375 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.69, allocations: 4.812 kB / 0.7375 GB, free: 6.406 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.712276638994808] Failed to read output from testmodel.py, exit status != 0: 11.809905919013545 11.837665444 11.601881025 Calling exit ...