Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.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.0007709/0.0007709, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0007812/0.0007812, allocations: 162 kB / 22.43 MB, free: 2.145 MB / 18.57 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.8624/0.8624, allocations: 177.2 MB / 202.8 MB, free: 5.77 MB / 186.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.6865/0.6865, allocations: 154.7 MB / 413.9 MB, free: 0.7461 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.MatrixGain,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixGain",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.001006/0.001006, allocations: 75.61 kB / 0.6184 GB, free: 12.5 MB / 0.5417 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.4426/0.4436, allocations: 102 MB / 0.7179 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001619/0.4452, allocations: 0.7389 MB / 0.7187 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006901/0.4459, allocations: 0.851 MB / 0.7195 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.22e-05/0.4459, allocations: 4 kB / 0.7195 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.4461, allocations: 54.75 kB / 0.7195 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.713e-05/0.4462, allocations: 39.77 kB / 0.7196 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.379e-05/0.4463, allocations: 23.97 kB / 0.7196 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.4464, allocations: 87.69 kB / 0.7197 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.4465, allocations: 19.98 kB / 0.7197 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.627e-05/0.4466, allocations: 55.88 kB / 0.7198 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.4467, allocations: 91.7 kB / 0.7199 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.4468, allocations: 8 kB / 0.7199 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.4468, allocations: 8 kB / 0.7199 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.432e-05/0.4468, allocations: 31.91 kB / 0.7199 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.4469, allocations: 39.8 kB / 0.7199 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.447, allocations: 138.8 kB / 0.7201 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.447, allocations: 0 / 0.7201 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.447, allocations: 0 / 0.7201 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.447, allocations: 4 kB / 0.7201 GB, free: 11.57 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005298/0.4476, allocations: 385.7 kB / 0.7204 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.4476, allocations: 12.03 kB / 0.7205 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.459e-05/0.4476, allocations: 34.75 kB / 0.7205 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.4477, allocations: 12.84 kB / 0.7205 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.4478, allocations: 149.8 kB / 0.7206 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.4478, allocations: 12.38 kB / 0.7207 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.4478, allocations: 8.312 kB / 0.7207 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.4481, allocations: 151.8 kB / 0.7208 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4481, allocations: 7.922 kB / 0.7208 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.4481, allocations: 0 / 0.7208 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.4481, allocations: 4 kB / 0.7208 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002608/0.4484, allocations: 171.8 kB / 0.721 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.4489, allocations: 463.9 kB / 0.7214 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.4491, allocations: 157.1 kB / 0.7216 GB, free: 9.891 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.4492, allocations: 97.67 kB / 0.7217 GB, free: 9.789 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.4492, allocations: 0 / 0.7217 GB, free: 9.789 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.4493, allocations: 34.56 kB / 0.7217 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.4493, allocations: 0 / 0.7217 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0004758/0.4497, allocations: 289.3 kB / 0.722 GB, free: 9.457 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.4498, allocations: 81.11 kB / 0.7221 GB, free: 9.359 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.256e-05/0.4499, allocations: 154.3 kB / 0.7222 GB, free: 9.195 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.4499, allocations: 29.7 kB / 0.7222 GB, free: 9.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.4499, allocations: 100.1 kB / 0.7223 GB, free: 9.059 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.4499, allocations: 31.73 kB / 0.7224 GB, free: 9.027 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.45, allocations: 25.72 kB / 0.7224 GB, free: 8.996 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.962e-05/0.4501, allocations: 330.8 kB / 0.7227 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.4502, allocations: 71.92 kB / 0.7228 GB, free: 8.594 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.4503, allocations: 93.62 kB / 0.7229 GB, free: 8.496 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.4505, allocations: 181.4 kB / 0.723 GB, free: 8.312 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4505, allocations: 0 / 0.723 GB, free: 8.312 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002685/0.4508, allocations: 209.9 kB / 0.7232 GB, free: 8.102 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.4508, allocations: 10.34 kB / 0.7232 GB, free: 8.094 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4508, allocations: 0 / 0.7232 GB, free: 8.094 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.4508, allocations: 3.938 kB / 0.7232 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.4509, allocations: 39.95 kB / 0.7233 GB, free: 8.051 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.4509, allocations: 3.938 kB / 0.7233 GB, free: 8.047 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.451, allocations: 19.97 kB / 0.7233 GB, free: 8.027 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.451, allocations: 4 kB / 0.7233 GB, free: 8.023 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 7.266e-05/0.4511, allocations: 138.8 kB / 0.7234 GB, free: 7.879 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.4511, allocations: 11.98 kB / 0.7234 GB, free: 7.867 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.4511, allocations: 20.33 kB / 0.7235 GB, free: 7.844 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4511, allocations: 4 kB / 0.7235 GB, free: 7.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4511, allocations: 0 / 0.7235 GB, free: 7.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4511, allocations: 0 / 0.7235 GB, free: 7.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.4513, allocations: 192.5 kB / 0.7237 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4513, allocations: 0 / 0.7237 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.552e-05/0.4514, allocations: 39.89 kB / 0.7237 GB, free: 7.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4514, allocations: 4 kB / 0.7237 GB, free: 7.566 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.4514, allocations: 4 kB / 0.7237 GB, free: 7.562 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.4514, allocations: 0 / 0.7237 GB, free: 7.562 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4514, allocations: 0 / 0.7237 GB, free: 7.562 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.4517, allocations: 378.6 kB / 0.7241 GB, free: 7.176 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.4517, allocations: 11.91 kB / 0.7241 GB, free: 7.164 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.4517, allocations: 4 kB / 0.7241 GB, free: 7.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.972e-05/0.4518, allocations: 31.95 kB / 0.7241 GB, free: 7.129 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.4519, allocations: 3.984 kB / 0.7241 GB, free: 7.125 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.4519, allocations: 4 kB / 0.7241 GB, free: 7.121 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.461e-05/0.452, allocations: 128.9 kB / 0.7242 GB, free: 6.996 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.452, allocations: 0 / 0.7242 GB, free: 6.996 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001724/0.4521, allocations: 20 kB / 0.7243 GB, free: 6.977 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.0005217/0.4526, allocations: 0.8991 MB / 0.7251 GB, free: 6.051 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003143/0.453, allocations: 171.8 kB / 0.7253 GB, free: 5.883 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.453, allocations: 0 / 0.7253 GB, free: 5.883 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.4531, allocations: 95.84 kB / 0.7254 GB, free: 5.789 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.4534, allocations: 11.94 kB / 0.7254 GB, free: 5.777 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.455, allocations: 1.98 MB / 0.7273 GB, free: 3.703 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.491e-05/0.455, allocations: 100.2 kB / 0.7274 GB, free: 3.586 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.884e-05/0.4551, allocations: 27.97 kB / 0.7275 GB, free: 3.559 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.4552, allocations: 32.48 kB / 0.7275 GB, free: 3.527 MB / 0.6042 GB Notification: Performance of SimCode: time 7.01e-07/0.4552, allocations: 3.938 kB / 0.7275 GB, free: 3.523 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/0.4732, allocations: 3.399 MB / 0.7308 GB, free: 280 kB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.575/7.048, allocations: 13.8 kB / 0.7308 GB, free: 268 kB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain_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_Reals_Validation_MatrixGain.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.666586614912376] Failed to read output from testmodel.py, exit status != 0: 7.125613016076386 7.133198642 6.684502406 Calling exit ...