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.0008278/0.0008278, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001373/0.001373, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.912/0.912, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7186/0.7186, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.6182 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.867e-05, allocations: 5.891 kB / 0.6182 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001734/0.001753, allocations: 0.7362 MB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009801/0.002733, allocations: 0.851 MB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.504e-05/0.002788, allocations: 7.875 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.002997, allocations: 59.8 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.569e-05/0.003062, allocations: 39.7 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 8.024e-05/0.003142, allocations: 23.97 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.003276, allocations: 87.75 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.003401, allocations: 15.97 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.811e-05/0.003499, allocations: 55.88 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.003644, allocations: 79.83 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.003674, allocations: 8 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.557e-05/0.00369, allocations: 8 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.839e-05/0.003758, allocations: 39.91 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.003802, allocations: 23.92 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.003964, allocations: 131.5 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003966, allocations: 4 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.252e-06/0.003967, allocations: 0 / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.003972, allocations: 0 / 0.6203 GB, free: 11.45 MB / 0.5886 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.0006813/0.004653, allocations: 388.3 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.004701, allocations: 12.03 kB / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.004744, allocations: 34.75 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.004777, allocations: 12.89 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.004966, allocations: 153.4 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.004978, allocations: 8.359 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.004992, allocations: 4.375 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.005343, allocations: 147.9 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.005353, allocations: 8.188 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.005365, allocations: 384 / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.005373, allocations: 4.125 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.005798, allocations: 167.8 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007413/0.00654, allocations: 468 kB / 0.6216 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.006796, allocations: 165 kB / 0.6218 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.006972, allocations: 89.73 kB / 0.6219 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.006987, allocations: 4 kB / 0.6219 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.00701, allocations: 34.56 kB / 0.6219 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.007011, allocations: 0 / 0.6219 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0005411/0.007552, allocations: 285.3 kB / 0.6222 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.007589, allocations: 85.11 kB / 0.6223 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.007734, allocations: 163.6 kB / 0.6224 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.007745, allocations: 25.7 kB / 0.6224 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.007793, allocations: 108.1 kB / 0.6225 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.007819, allocations: 23.75 kB / 0.6226 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.00786, allocations: 25.7 kB / 0.6226 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.416e-05/0.007944, allocations: 326.8 kB / 0.6229 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.008073, allocations: 79.86 kB / 0.623 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.008212, allocations: 89.64 kB / 0.6231 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.008512, allocations: 169.6 kB / 0.6232 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.008514, allocations: 0 / 0.6232 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002996/0.008814, allocations: 217.8 kB / 0.6234 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.008838, allocations: 11.92 kB / 0.6234 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.008845, allocations: 3.984 kB / 0.6234 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.008858, allocations: 0 / 0.6234 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.008994, allocations: 35.97 kB / 0.6235 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.009001, allocations: 3.984 kB / 0.6235 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.758e-05/0.009069, allocations: 23.97 kB / 0.6235 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.009078, allocations: 4 kB / 0.6235 GB, free: 7.91 MB / 0.5886 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.609e-05/0.009154, allocations: 130.8 kB / 0.6236 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.009181, allocations: 15.84 kB / 0.6236 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.00921, allocations: 20.34 kB / 0.6237 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.009214, allocations: 7.984 kB / 0.6237 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.009219, allocations: 0 / 0.6237 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.009222, allocations: 4 kB / 0.6237 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.009401, allocations: 180.7 kB / 0.6239 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.009402, allocations: 0 / 0.6239 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.595e-05/0.009478, allocations: 31.95 kB / 0.6239 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.009482, allocations: 8 kB / 0.6239 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.00949, allocations: 0 / 0.6239 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.009491, allocations: 0 / 0.6239 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.009492, allocations: 0 / 0.6239 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004616/0.009954, allocations: 390.5 kB / 0.6243 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.009967, allocations: 15.84 kB / 0.6243 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.009981, allocations: 4 kB / 0.6243 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.359e-05/0.01007, allocations: 23.95 kB / 0.6243 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.01013, allocations: 11.98 kB / 0.6243 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.01014, allocations: 0 / 0.6243 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.485e-05/0.0102, allocations: 128.3 kB / 0.6244 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.0102, allocations: 0 / 0.6244 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001775/0.01038, allocations: 16 kB / 0.6245 GB, free: 6.871 MB / 0.5886 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.0006337/0.01102, allocations: 0.9068 MB / 0.6253 GB, free: 5.934 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003548/0.01137, allocations: 171.8 kB / 0.6255 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01137, allocations: 0 / 0.6255 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.01151, allocations: 83.92 kB / 0.6256 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.0118, allocations: 22.03 kB / 0.6256 GB, free: 5.664 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.01351, allocations: 1.966 MB / 0.6275 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.717e-05/0.01359, allocations: 104.2 kB / 0.6276 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.657e-05/0.01364, allocations: 27.97 kB / 0.6277 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.371e-05/0.01372, allocations: 36.48 kB / 0.6277 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of SimCode: time 7.02e-07/0.01372, allocations: 0 / 0.6277 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01482/0.02854, allocations: 3.403 MB / 0.631 GB, free: 184 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.952/6.981, allocations: 8.891 kB / 0.631 GB, free: 180 kB / 0.5886 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.819208283908665] Failed to read output from testmodel.py, exit status != 0: 7.066402886994183 7.074179859 7.068582145 Calling exit ...