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.001028/0.001028, allocations: 101.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.00114/0.00114, allocations: 209.7 kB / 22.24 MB, free: 3.59 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.954/0.954, allocations: 230.6 MB / 256 MB, free: 9.578 MB / 202.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.7675/0.7675, allocations: 203.5 MB / 0.5039 GB, free: 10.68 MB / 410.7 MB " [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: 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.00143/0.00143, allocations: 69.03 kB / 0.7178 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5286/0.53, allocations: 102 MB / 0.8174 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001626/0.5316, allocations: 0.7471 MB / 0.8182 GB, free: 0.7656 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008257/0.5324, allocations: 0.8516 MB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.5325, allocations: 1 kB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.5327, allocations: 59.31 kB / 0.819 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.044e-05/0.5327, allocations: 37.7 kB / 0.8191 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 8.217e-05/0.5328, allocations: 23.88 kB / 0.8191 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.5329, allocations: 88.19 kB / 0.8192 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.5331, allocations: 11.08 kB / 0.8192 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.571e-05/0.5331, allocations: 47.28 kB / 0.8192 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.5333, allocations: 82.88 kB / 0.8193 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.5333, allocations: 4.969 kB / 0.8193 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.5333, allocations: 14.62 kB / 0.8193 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.502e-05/0.5334, allocations: 41.66 kB / 0.8194 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.514e-05/0.5334, allocations: 34.83 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.5336, allocations: 117.1 kB / 0.8195 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5336, allocations: 5.094 kB / 0.8195 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5336, allocations: 0 / 0.8195 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.5336, allocations: 0.7031 kB / 0.8195 GB, free: 15.92 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.0006058/0.5342, allocations: 397 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.5343, allocations: 9.219 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.501e-05/0.5343, allocations: 35.22 kB / 0.8199 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.5343, allocations: 14.22 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.5345, allocations: 144.6 kB / 0.8201 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.5345, allocations: 2.625 kB / 0.8201 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.5345, allocations: 4.031 kB / 0.8201 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.5349, allocations: 151.7 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.5349, allocations: 16.59 kB / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.5349, allocations: 5.344 kB / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.5349, allocations: 2.188 kB / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.5352, allocations: 164.7 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/0.5358, allocations: 472.9 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.5361, allocations: 160.2 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.5363, allocations: 88.66 kB / 0.8211 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.5363, allocations: 4.969 kB / 0.8211 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.5363, allocations: 37.64 kB / 0.8212 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.5363, allocations: 0 / 0.8212 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.000552/0.5369, allocations: 292.3 kB / 0.8214 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.5369, allocations: 80.55 kB / 0.8215 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.5371, allocations: 163 kB / 0.8217 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.5371, allocations: 29.7 kB / 0.8217 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.5371, allocations: 103.7 kB / 0.8218 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.5372, allocations: 30.98 kB / 0.8218 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.5372, allocations: 22.33 kB / 0.8218 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.725e-05/0.5373, allocations: 324.9 kB / 0.8222 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.5374, allocations: 80.36 kB / 0.8222 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.5376, allocations: 89.05 kB / 0.8223 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.5379, allocations: 172.3 kB / 0.8225 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5379, allocations: 0 / 0.8225 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003291/0.5382, allocations: 208.6 kB / 0.8227 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.5382, allocations: 6.094 kB / 0.8227 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.5382, allocations: 1.031 kB / 0.8227 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.5382, allocations: 1.031 kB / 0.8227 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.5384, allocations: 49.42 kB / 0.8227 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.5384, allocations: 1.859 kB / 0.8227 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.437e-05/0.5384, allocations: 22.8 kB / 0.8228 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.5385, allocations: 2.562 kB / 0.8228 GB, free: 13.81 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.124e-05/0.5385, allocations: 135 kB / 0.8229 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.5386, allocations: 9.375 kB / 0.8229 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.5386, allocations: 18.2 kB / 0.8229 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5386, allocations: 0 / 0.8229 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.5386, allocations: 1.953 kB / 0.8229 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5386, allocations: 4 kB / 0.8229 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.5388, allocations: 189.5 kB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5388, allocations: 0 / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.5389, allocations: 37.75 kB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5389, allocations: 1.219 kB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.5389, allocations: 1.125 kB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.5389, allocations: 5.5 kB / 0.8232 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.5389, allocations: 0.5625 kB / 0.8232 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.5393, allocations: 384.5 kB / 0.8235 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.5394, allocations: 20.72 kB / 0.8235 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.5394, allocations: 2.297 kB / 0.8235 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.5395, allocations: 22.34 kB / 0.8236 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.361e-05/0.5396, allocations: 11.41 kB / 0.8236 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.5396, allocations: 3.125 kB / 0.8236 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.481e-05/0.5397, allocations: 126.4 kB / 0.8237 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5397, allocations: 1.406 kB / 0.8237 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001914/0.5398, allocations: 15.25 kB / 0.8237 GB, free: 13.11 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.000709/0.5406, allocations: 0.9053 MB / 0.8246 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004462/0.541, allocations: 174.6 kB / 0.8248 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.541, allocations: 0 / 0.8248 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.5412, allocations: 92.34 kB / 0.8248 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.5415, allocations: 15.56 kB / 0.8249 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.5436, allocations: 1.969 MB / 0.8268 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.5437, allocations: 96.91 kB / 0.8269 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.468e-05/0.5438, allocations: 31.14 kB / 0.8269 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.43e-05/0.5439, allocations: 33.91 kB / 0.8269 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of SimCode: time 1.212e-06/0.5439, allocations: 3.938 kB / 0.8269 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.5637, allocations: 3.261 MB / 0.8301 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.706/7.27, allocations: 9.406 kB / 0.8301 GB, free: 9.762 MB / 0.6198 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: 10.289167465176433] Failed to read output from testmodel.py, exit status != 0: 7.351468147709966 7.361401197 6.825734458 Calling exit ...