Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001061/0.001061, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.001234/0.001234, 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.8747/0.8747, allocations: 177.2 MB / 202.8 MB, free: 5.781 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.7144/0.7144, allocations: 154.9 MB / 414.2 MB, free: 484 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="IDEAS_dev_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.001007/0.001007, allocations: 74.05 kB / 0.6187 GB, free: 13.2 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4563/0.4573, allocations: 102 MB / 0.7183 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001306/0.4586, allocations: 0.7252 MB / 0.719 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0005961/0.4592, allocations: 0.856 MB / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.486e-05/0.4592, allocations: 0 / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.4594, allocations: 65.08 kB / 0.7199 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.721e-05/0.4595, allocations: 31.95 kB / 0.7199 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 7.212e-05/0.4596, allocations: 19.09 kB / 0.7199 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.4597, allocations: 100 kB / 0.72 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.4598, allocations: 16.31 kB / 0.72 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.107e-05/0.4599, allocations: 58.08 kB / 0.7201 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.46, allocations: 83.47 kB / 0.7202 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.46, allocations: 8.656 kB / 0.7202 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.386e-05/0.46, allocations: 7.094 kB / 0.7202 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.28e-05/0.4601, allocations: 37 kB / 0.7202 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.4602, allocations: 33.22 kB / 0.7203 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.4603, allocations: 137.3 kB / 0.7204 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4603, allocations: 0 / 0.7204 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4603, allocations: 5.062 kB / 0.7204 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.4603, allocations: 0.5625 kB / 0.7204 GB, free: 21.88 MB / 0.6355 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.0004809/0.4608, allocations: 389.2 kB / 0.7208 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.4608, allocations: 10.34 kB / 0.7208 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.605e-05/0.4609, allocations: 38.17 kB / 0.7208 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.4609, allocations: 14.38 kB / 0.7208 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.461, allocations: 158.7 kB / 0.721 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.461, allocations: 2.594 kB / 0.721 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.461, allocations: 8 kB / 0.721 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.4613, allocations: 147.8 kB / 0.7211 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.4613, allocations: 5 kB / 0.7211 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.4613, allocations: 4 kB / 0.7211 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.4613, allocations: 2.891 kB / 0.7211 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.4616, allocations: 165.7 kB / 0.7213 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.4621, allocations: 464.6 kB / 0.7217 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.4623, allocations: 165.5 kB / 0.7219 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.4624, allocations: 88.66 kB / 0.722 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.4625, allocations: 5.703 kB / 0.722 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.4625, allocations: 37.17 kB / 0.722 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.011e-06/0.4625, allocations: 0 / 0.722 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0004953/0.463, allocations: 284.5 kB / 0.7223 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.463, allocations: 83.33 kB / 0.7224 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/0.4631, allocations: 161.8 kB / 0.7225 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.635e-06/0.4631, allocations: 25.7 kB / 0.7225 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.4631, allocations: 100.9 kB / 0.7226 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.4631, allocations: 38.5 kB / 0.7227 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.4632, allocations: 21.3 kB / 0.7227 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.244e-05/0.4632, allocations: 326.2 kB / 0.723 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.4633, allocations: 80.08 kB / 0.7231 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.4635, allocations: 101.3 kB / 0.7232 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.4637, allocations: 176.9 kB / 0.7234 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4637, allocations: 3.938 kB / 0.7234 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000286/0.464, allocations: 207.5 kB / 0.7236 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.464, allocations: 6.969 kB / 0.7236 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.464, allocations: 0 / 0.7236 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.464, allocations: 0.9375 kB / 0.7236 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.4641, allocations: 38.55 kB / 0.7236 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4642, allocations: 0.7031 kB / 0.7236 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.498e-05/0.4642, allocations: 24.88 kB / 0.7236 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.4642, allocations: 6.094 kB / 0.7236 GB, free: 19.75 MB / 0.6355 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 5.626e-05/0.4643, allocations: 132.9 kB / 0.7238 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.4643, allocations: 10.12 kB / 0.7238 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.287e-05/0.4643, allocations: 18.42 kB / 0.7238 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4643, allocations: 1.156 kB / 0.7238 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4643, allocations: 1.703 kB / 0.7238 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.4643, allocations: 0 / 0.7238 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.4645, allocations: 193.2 kB / 0.724 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4645, allocations: 0.8906 kB / 0.724 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.256e-05/0.4646, allocations: 41.73 kB / 0.724 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4646, allocations: 1.344 kB / 0.724 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.4646, allocations: 1.312 kB / 0.724 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4646, allocations: 0.75 kB / 0.724 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4646, allocations: 1.188 kB / 0.724 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.4649, allocations: 379.9 kB / 0.7244 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.061e-05/0.4649, allocations: 13.3 kB / 0.7244 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.4649, allocations: 5.109 kB / 0.7244 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.465, allocations: 22.81 kB / 0.7244 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.4651, allocations: 16.34 kB / 0.7244 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.4651, allocations: 1.906 kB / 0.7244 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.842e-05/0.4652, allocations: 124.7 kB / 0.7246 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4652, allocations: 0 / 0.7246 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001783/0.4653, allocations: 15.31 kB / 0.7246 GB, free: 19.07 MB / 0.6355 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.0004582/0.4658, allocations: 0.9103 MB / 0.7255 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003402/0.4661, allocations: 170.5 kB / 0.7256 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4661, allocations: 0.9375 kB / 0.7256 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.4663, allocations: 90.36 kB / 0.7257 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.4665, allocations: 16.66 kB / 0.7257 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.4681, allocations: 1.98 MB / 0.7277 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.318e-05/0.4681, allocations: 95.78 kB / 0.7277 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.2e-05/0.4682, allocations: 27.42 kB / 0.7278 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.4682, allocations: 36.14 kB / 0.7278 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of SimCode: time 7.21e-07/0.4682, allocations: 0 / 0.7278 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.4834, allocations: 3.407 MB / 0.7311 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.731/7.214, allocations: 11.2 kB / 0.7311 GB, free: 15.66 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.973237541969866] Failed to read output from testmodel.py, exit status != 0: 7.293550248956308 7.304143203 6.841890501 Calling exit ...