Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.0008666/0.0008666, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001128/0.001128, allocations: 223.7 kB / 22.26 MB, free: 3.703 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.9574/0.9574, allocations: 230.6 MB / 256 MB, free: 9.809 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.8079/0.8079, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.MatrixMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax",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.0009994/0.0009994, allocations: 66.72 kB / 0.7183 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5368/0.5378, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001659/0.5394, allocations: 0.7351 MB / 0.8186 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002211/0.5397, allocations: 52.97 kB / 0.8187 GB, free: 0.7461 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.285e-05/0.5397, allocations: 3.938 kB / 0.8187 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.5399, allocations: 20.52 kB / 0.8187 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.371e-05/0.5399, allocations: 13.28 kB / 0.8187 GB, free: 0.7266 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.5401, allocations: 28.62 kB / 0.8187 GB, free: 0.7148 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.5403, allocations: 120.7 kB / 0.8189 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.5404, allocations: 91.59 kB / 0.8189 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.294e-05/0.5405, allocations: 76.52 kB / 0.819 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.564e-05/0.5406, allocations: 76.92 kB / 0.8191 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.5406, allocations: 13.34 kB / 0.8191 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.296e-05/0.5406, allocations: 11.09 kB / 0.8191 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.606e-05/0.5407, allocations: 56.22 kB / 0.8192 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.95e-05/0.5408, allocations: 83.17 kB / 0.8192 GB, free: 480 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.541, allocations: 235.5 kB / 0.8195 GB, free: 396 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.541, allocations: 0.7031 kB / 0.8195 GB, free: 396 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/0.541, allocations: 0 / 0.8195 GB, free: 396 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.541, allocations: 0 / 0.8195 GB, free: 396 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0003952/0.5414, allocations: 435.8 kB / 0.8199 GB, free: 20 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.5415, allocations: 9.5 kB / 0.8199 GB, free: 20 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.229e-05/0.5415, allocations: 55.84 kB / 0.82 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.5416, allocations: 25.84 kB / 0.82 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.5418, allocations: 202 kB / 0.8202 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.5418, allocations: 19.3 kB / 0.8202 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.5418, allocations: 15.34 kB / 0.8202 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.5422, allocations: 336 kB / 0.8205 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.5422, allocations: 4 kB / 0.8205 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.5423, allocations: 7.812 kB / 0.8205 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/0.5423, allocations: 19.2 kB / 0.8206 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.5426, allocations: 259.6 kB / 0.8208 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009331/0.5435, allocations: 1.057 MB / 0.8218 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.422e-05/0.5436, allocations: 177.1 kB / 0.822 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.5436, allocations: 80.66 kB / 0.8221 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.5436, allocations: 75.28 kB / 0.8222 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.5436, allocations: 114.3 kB / 0.8223 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.5436, allocations: 0 / 0.8223 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.434e-05/0.5437, allocations: 55.67 kB / 0.8223 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.5438, allocations: 130.7 kB / 0.8224 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004463/0.5442, allocations: 0.4956 MB / 0.8229 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.5442, allocations: 25.7 kB / 0.8229 GB, free: 14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.57e-05/0.5443, allocations: 169.2 kB / 0.8231 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.359e-06/0.5443, allocations: 4 kB / 0.8231 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.5444, allocations: 30.98 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.466e-05/0.5445, allocations: 343.8 kB / 0.8235 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.112e-05/0.5445, allocations: 51.06 kB / 0.8235 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.717e-05/0.5446, allocations: 88.89 kB / 0.8236 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.5447, allocations: 104.5 kB / 0.8237 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5447, allocations: 2.156 kB / 0.8237 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002376/0.5449, allocations: 192.4 kB / 0.8239 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.5449, allocations: 10.22 kB / 0.8239 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.545, allocations: 2.688 kB / 0.8239 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.545, allocations: 5.406 kB / 0.8239 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.977e-05/0.5451, allocations: 18.83 kB / 0.8239 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.5451, allocations: 6.25 kB / 0.8239 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.452e-05/0.5451, allocations: 35.7 kB / 0.824 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.5451, allocations: 7.828 kB / 0.824 GB, free: 13.25 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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 0.0001325/0.5453, allocations: 252.1 kB / 0.8242 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.5453, allocations: 139.5 kB / 0.8243 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.067e-05/0.5454, allocations: 139.9 kB / 0.8245 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.06e-05/0.5454, allocations: 182.2 kB / 0.8247 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.317e-05/0.5455, allocations: 178.1 kB / 0.8248 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.2e-05/0.5455, allocations: 181.9 kB / 0.825 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.5458, allocations: 464.3 kB / 0.8254 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.854e-05/0.5458, allocations: 110.7 kB / 0.8255 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/0.5458, allocations: 102.7 kB / 0.8256 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.202e-05/0.5459, allocations: 181.9 kB / 0.8258 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/0.5459, allocations: 186.2 kB / 0.826 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.04e-05/0.546, allocations: 177 kB / 0.8262 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.225e-05/0.546, allocations: 186.6 kB / 0.8263 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.5461, allocations: 323.2 kB / 0.8266 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-05/0.5462, allocations: 145.6 kB / 0.8268 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/0.5463, allocations: 182.5 kB / 0.827 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.5463, allocations: 114.6 kB / 0.8271 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.5464, allocations: 178.5 kB / 0.8272 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.5464, allocations: 101.3 kB / 0.8273 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003169/0.5467, allocations: 368.8 kB / 0.8277 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5467, allocations: 0 / 0.8277 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000186/0.5469, allocations: 28.47 kB / 0.8277 GB, free: 9.672 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0003219/0.5472, allocations: 0.8312 MB / 0.8285 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.5474, allocations: 65.95 kB / 0.8286 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5474, allocations: 0 / 0.8286 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.5474, allocations: 1.469 kB / 0.8286 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.5478, allocations: 492.5 kB / 0.8291 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.5505, allocations: 3.283 MB / 0.8323 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.5508, allocations: 0.7716 MB / 0.833 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.458e-05/0.5508, allocations: 48.23 kB / 0.8331 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.007e-05/0.5509, allocations: 61.42 kB / 0.8331 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of SimCode: time 6.91e-07/0.5509, allocations: 0 / 0.8331 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.5741, allocations: 4.731 MB / 0.8377 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.959/7.533, allocations: 8.031 kB / 0.8378 GB, free: 5.098 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax_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_MatrixMax.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.559592186007649] Failed to read output from testmodel.py, exit status != 0: 7.6133403410203755 7.624550149 7.08145234 Calling exit ...