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.001224/0.001224, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001546/0.001546, allocations: 210.6 kB / 22.25 MB, free: 3.578 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 0.9416/0.9416, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.8003/0.8003, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [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.0009843/0.0009843, allocations: 62.88 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5349/0.5359, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001648/0.5375, allocations: 0.7344 MB / 0.8186 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000827/0.5384, allocations: 0.8495 MB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.499e-05/0.5384, allocations: 1.219 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.5386, allocations: 62.08 kB / 0.8195 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.091e-05/0.5387, allocations: 38.98 kB / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.23e-05/0.5387, allocations: 19.81 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.5389, allocations: 91.5 kB / 0.8196 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.539, allocations: 12.69 kB / 0.8196 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.219e-05/0.5391, allocations: 49.56 kB / 0.8197 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.5393, allocations: 83.55 kB / 0.8197 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.5393, allocations: 6.938 kB / 0.8197 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.386e-05/0.5393, allocations: 8.562 kB / 0.8198 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.043e-05/0.5394, allocations: 38.08 kB / 0.8198 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.858e-05/0.5394, allocations: 34.12 kB / 0.8198 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.5396, allocations: 126.7 kB / 0.8199 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.5396, allocations: 2 kB / 0.8199 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5396, allocations: 0 / 0.8199 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.5396, allocations: 3.938 kB / 0.8199 GB, free: 15.72 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005976/0.5402, allocations: 389.3 kB / 0.8203 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.5402, allocations: 10.12 kB / 0.8203 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.5403, allocations: 36.98 kB / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.5403, allocations: 18.19 kB / 0.8204 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.5404, allocations: 149.5 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.5405, allocations: 6.094 kB / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.5405, allocations: 4.156 kB / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.5407, allocations: 153.6 kB / 0.8207 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.5408, allocations: 7.938 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.5408, allocations: 1.562 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.5408, allocations: 1.719 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.5411, allocations: 165.3 kB / 0.8208 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.5416, allocations: 471.8 kB / 0.8213 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.5419, allocations: 156.2 kB / 0.8214 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.5421, allocations: 94.17 kB / 0.8215 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.5421, allocations: 4.656 kB / 0.8215 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.5421, allocations: 33.45 kB / 0.8216 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.5421, allocations: 0 / 0.8216 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0005351/0.5426, allocations: 289.1 kB / 0.8218 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.5427, allocations: 79.48 kB / 0.8219 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.5428, allocations: 159.8 kB / 0.8221 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.5428, allocations: 31.11 kB / 0.8221 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.5428, allocations: 103.7 kB / 0.8222 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.5429, allocations: 30.16 kB / 0.8222 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.5429, allocations: 24.95 kB / 0.8223 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.543, allocations: 325.1 kB / 0.8226 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.5431, allocations: 76.8 kB / 0.8226 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.5433, allocations: 97.16 kB / 0.8227 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.5435, allocations: 172.7 kB / 0.8229 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5436, allocations: 0 / 0.8229 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000331/0.5439, allocations: 217.2 kB / 0.8231 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.5439, allocations: 5.406 kB / 0.8231 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5439, allocations: 0 / 0.8231 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.5439, allocations: 2.156 kB / 0.8231 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.5441, allocations: 37.83 kB / 0.8231 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.5441, allocations: 1.406 kB / 0.8231 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.512e-05/0.5441, allocations: 28.12 kB / 0.8232 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.5441, allocations: 1.5 kB / 0.8232 GB, free: 13.61 MB / 0.6198 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 8.342e-05/0.5442, allocations: 127.8 kB / 0.8233 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.5443, allocations: 9.422 kB / 0.8233 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.5443, allocations: 23.11 kB / 0.8233 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.5443, allocations: 5.062 kB / 0.8233 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5443, allocations: 1.094 kB / 0.8233 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.5443, allocations: 5.859 kB / 0.8233 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.5445, allocations: 183.7 kB / 0.8235 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.5445, allocations: 6.266 kB / 0.8235 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.503e-05/0.5446, allocations: 36.27 kB / 0.8236 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5446, allocations: 1.531 kB / 0.8236 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.5446, allocations: 5.219 kB / 0.8236 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5446, allocations: 1.281 kB / 0.8236 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5446, allocations: 1.188 kB / 0.8236 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.545, allocations: 384 kB / 0.8239 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.545, allocations: 15.8 kB / 0.8239 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.545, allocations: 7.078 kB / 0.824 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.5451, allocations: 22.48 kB / 0.824 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.5452, allocations: 15.25 kB / 0.824 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.5452, allocations: 3.281 kB / 0.824 GB, free: 13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.997e-05/0.5453, allocations: 130.6 kB / 0.8241 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5453, allocations: 1.438 kB / 0.8241 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001798/0.5454, allocations: 14.81 kB / 0.8241 GB, free: 12.91 MB / 0.6198 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.0005708/0.546, allocations: 0.8973 MB / 0.825 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003726/0.5464, allocations: 175.3 kB / 0.8252 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5464, allocations: 1.375 kB / 0.8252 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.5465, allocations: 94.14 kB / 0.8253 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.5468, allocations: 11.97 kB / 0.8253 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.5487, allocations: 1.97 MB / 0.8272 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.444e-05/0.5488, allocations: 100.9 kB / 0.8273 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.141e-05/0.5489, allocations: 35.59 kB / 0.8273 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.5489, allocations: 30.67 kB / 0.8274 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of SimCode: time 5.82e-07/0.5489, allocations: 0 / 0.8274 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.5686, allocations: 3.276 MB / 0.8306 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.578/7.147, allocations: 7.766 kB / 0.8306 GB, free: 9.547 MB / 0.6198 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: 10.219671280123293] Failed to read output from testmodel.py, exit status != 0: 7.232280803844333 7.248886312 6.706433476 Calling exit ...