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.0008823/0.0008823, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008334/0.0008334, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9592/0.9592, allocations: 177.1 MB / 202.8 MB, free: 5.754 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7478/0.7478, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 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: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.433e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.00152/0.001545, allocations: 0.7356 MB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008928/0.002438, allocations: 0.8471 MB / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.298e-05/0.002511, allocations: 3.938 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.002711, allocations: 63.72 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.075e-05/0.002762, allocations: 39.78 kB / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 8.419e-05/0.002846, allocations: 23.95 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.002965, allocations: 87.75 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.003089, allocations: 19.98 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.617e-05/0.003176, allocations: 51.88 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.003309, allocations: 75.84 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.003338, allocations: 8 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.00335, allocations: 8 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.235e-05/0.003413, allocations: 35.89 kB / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.00346, allocations: 31.92 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.00361, allocations: 127.5 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.003613, allocations: 0 / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.342e-06/0.003614, allocations: 0 / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.003619, allocations: 4 kB / 0.6202 GB, free: 11.51 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.0005903/0.00421, allocations: 389.7 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.004262, allocations: 9.469 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.9e-05/0.004301, allocations: 38.75 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.004326, allocations: 8.891 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.004493, allocations: 157 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.004503, allocations: 4.375 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.004516, allocations: 8.375 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.004785, allocations: 151.8 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.004794, allocations: 4.172 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.004806, allocations: 4.375 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.004812, allocations: 4.125 kB / 0.621 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.005098, allocations: 167.8 kB / 0.6211 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005895/0.005687, allocations: 464 kB / 0.6216 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.005981, allocations: 161.1 kB / 0.6217 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.006131, allocations: 89.73 kB / 0.6218 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.006147, allocations: 7.938 kB / 0.6218 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.006171, allocations: 30.56 kB / 0.6218 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.006173, allocations: 0 / 0.6218 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0005696/0.006742, allocations: 293.3 kB / 0.6221 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.006794, allocations: 77.11 kB / 0.6222 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.006928, allocations: 162.3 kB / 0.6223 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.006952, allocations: 29.7 kB / 0.6224 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.007041, allocations: 108.1 kB / 0.6225 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.007078, allocations: 23.78 kB / 0.6225 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.007129, allocations: 25.72 kB / 0.6225 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.007236, allocations: 322.8 kB / 0.6228 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.007405, allocations: 79.86 kB / 0.6229 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.007547, allocations: 93.62 kB / 0.623 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.00781, allocations: 177.5 kB / 0.6232 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.007813, allocations: 3.938 kB / 0.6232 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002975/0.00811, allocations: 213.8 kB / 0.6234 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.008128, allocations: 4 kB / 0.6234 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.008134, allocations: 0 / 0.6234 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.008149, allocations: 4 kB / 0.6234 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.008273, allocations: 35.89 kB / 0.6234 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.00828, allocations: 0 / 0.6234 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.563e-05/0.008346, allocations: 27.97 kB / 0.6234 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.008352, allocations: 0 / 0.6234 GB, free: 7.969 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.944e-05/0.008432, allocations: 134.8 kB / 0.6236 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.008466, allocations: 23.88 kB / 0.6236 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.008499, allocations: 20.33 kB / 0.6236 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-06/0.008501, allocations: 0 / 0.6236 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.008507, allocations: 0 / 0.6236 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.008509, allocations: 0 / 0.6236 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.008702, allocations: 184.6 kB / 0.6238 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.008704, allocations: 0 / 0.6238 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.502e-05/0.008789, allocations: 43.89 kB / 0.6238 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.008791, allocations: 4 kB / 0.6238 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.008802, allocations: 4 kB / 0.6238 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.008804, allocations: 0 / 0.6238 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.008806, allocations: 4 kB / 0.6238 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.009163, allocations: 370.6 kB / 0.6242 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.009178, allocations: 11.91 kB / 0.6242 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.009194, allocations: 8 kB / 0.6242 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.009337, allocations: 27.95 kB / 0.6242 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.009404, allocations: 7.984 kB / 0.6242 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.009415, allocations: 8 kB / 0.6243 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.488e-05/0.00949, allocations: 116.8 kB / 0.6244 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.00949, allocations: 0 / 0.6244 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001949/0.009685, allocations: 23.94 kB / 0.6244 GB, free: 6.922 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.000765/0.01045, allocations: 0.9107 MB / 0.6253 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003681/0.01082, allocations: 167.8 kB / 0.6254 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.01082, allocations: 0 / 0.6254 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.01096, allocations: 91.84 kB / 0.6255 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.01128, allocations: 17.56 kB / 0.6255 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.01332, allocations: 1.981 MB / 0.6275 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.116e-05/0.0134, allocations: 96.31 kB / 0.6276 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.781e-05/0.01347, allocations: 23.97 kB / 0.6276 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.387e-05/0.01354, allocations: 32.48 kB / 0.6276 GB, free: 3.469 MB / 0.5886 GB Notification: Performance of SimCode: time 8.92e-07/0.01354, allocations: 0 / 0.6276 GB, free: 3.469 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.03479, allocations: 3.421 MB / 0.631 GB, free: 216 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.872/6.907, allocations: 2.188 kB / 0.631 GB, free: 216 kB / 0.5886 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.848266251385212] Failed to read output from testmodel.py, exit status != 0: 6.990277801640332 6.999468905 6.994061618 Calling exit ...