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.0009311/0.0009311, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001232/0.001232, allocations: 208.1 kB / 22.25 MB, free: 3.574 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 1.005/1.005, allocations: 230.6 MB / 256 MB, free: 9.613 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.8097/0.8097, allocations: 203.5 MB / 0.5039 GB, free: 10.71 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.0009511/0.0009511, allocations: 62.72 kB / 0.7178 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5587/0.5597, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001658/0.5614, allocations: 0.745 MB / 0.8181 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007916/0.5622, allocations: 0.8518 MB / 0.819 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.705e-05/0.5622, allocations: 4.969 kB / 0.819 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.5624, allocations: 57.97 kB / 0.819 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.123e-05/0.5625, allocations: 39.05 kB / 0.8191 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 8.001e-05/0.5625, allocations: 18.28 kB / 0.8191 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.5627, allocations: 89.09 kB / 0.8192 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.5628, allocations: 16.33 kB / 0.8192 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.489e-05/0.5629, allocations: 43.48 kB / 0.8192 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.563, allocations: 87.14 kB / 0.8193 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.5631, allocations: 7.688 kB / 0.8193 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.5631, allocations: 7.906 kB / 0.8193 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.824e-05/0.5632, allocations: 41.44 kB / 0.8194 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.442e-05/0.5632, allocations: 37.94 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.5635, allocations: 118.5 kB / 0.8195 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.5635, allocations: 0 / 0.8195 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5635, allocations: 0 / 0.8195 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.5635, allocations: 2.312 kB / 0.8195 GB, free: 15.93 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.0006552/0.5641, allocations: 387.9 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.5642, allocations: 14.16 kB / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.5642, allocations: 40.69 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.5642, allocations: 15.23 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.5644, allocations: 147.3 kB / 0.8201 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.5644, allocations: 4.375 kB / 0.8201 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.5644, allocations: 3.594 kB / 0.8201 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.5648, allocations: 154.2 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.5648, allocations: 3.938 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.5648, allocations: 4 kB / 0.8203 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.5648, allocations: 2.875 kB / 0.8203 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003293/0.5651, allocations: 169.9 kB / 0.8204 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006072/0.5657, allocations: 471.9 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.566, allocations: 162.6 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.5661, allocations: 88.5 kB / 0.8211 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.5661, allocations: 5.094 kB / 0.8211 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.5662, allocations: 35.27 kB / 0.8212 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.5662, allocations: 0 / 0.8212 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0005393/0.5667, allocations: 283.5 kB / 0.8214 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.5667, allocations: 84.06 kB / 0.8215 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.5668, allocations: 163.3 kB / 0.8217 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.5669, allocations: 29.64 kB / 0.8217 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.5669, allocations: 111.6 kB / 0.8218 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.85e-05/0.567, allocations: 25.62 kB / 0.8218 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.5671, allocations: 23.84 kB / 0.8218 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.5671, allocations: 325.9 kB / 0.8222 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.5673, allocations: 76.52 kB / 0.8222 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.5674, allocations: 91.67 kB / 0.8223 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.5677, allocations: 173.2 kB / 0.8225 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.5677, allocations: 0 / 0.8225 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000372/0.5681, allocations: 212.1 kB / 0.8227 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.5681, allocations: 6.125 kB / 0.8227 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.5681, allocations: 0.75 kB / 0.8227 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.5681, allocations: 1.188 kB / 0.8227 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.5683, allocations: 33.61 kB / 0.8227 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.5683, allocations: 5.156 kB / 0.8227 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.315e-05/0.5684, allocations: 28.33 kB / 0.8228 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.5684, allocations: 2.625 kB / 0.8228 GB, free: 13.82 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 0.0001005/0.5685, allocations: 131.6 kB / 0.8229 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.5685, allocations: 10.05 kB / 0.8229 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.5686, allocations: 22.17 kB / 0.8229 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5686, allocations: 1.188 kB / 0.8229 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.5686, allocations: 2.438 kB / 0.8229 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.5686, allocations: 4 kB / 0.8229 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.5688, allocations: 192.7 kB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5688, allocations: 1.344 kB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.5689, allocations: 38.03 kB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5689, allocations: 0 / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.5689, allocations: 10.3 kB / 0.8232 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.5689, allocations: 1.438 kB / 0.8232 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5689, allocations: 160 / 0.8232 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.5694, allocations: 383.6 kB / 0.8235 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.5694, allocations: 16.84 kB / 0.8235 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.5694, allocations: 5.766 kB / 0.8235 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.5695, allocations: 23.06 kB / 0.8236 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/0.5696, allocations: 12.41 kB / 0.8236 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.5696, allocations: 1.312 kB / 0.8236 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.553e-05/0.5697, allocations: 128.2 kB / 0.8237 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5697, allocations: 0 / 0.8237 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000191/0.5699, allocations: 16.09 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.0007484/0.5706, allocations: 0.9013 MB / 0.8246 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003692/0.571, allocations: 175.1 kB / 0.8248 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.571, allocations: 0 / 0.8248 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.5712, allocations: 88.36 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.000255/0.5714, allocations: 18.36 kB / 0.8249 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.5735, 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 8.936e-05/0.5736, allocations: 100.5 kB / 0.8269 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.953e-05/0.5737, allocations: 30.78 kB / 0.8269 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/0.5737, allocations: 30.86 kB / 0.8269 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.5737, allocations: 0 / 0.8269 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.5908, allocations: 3.269 MB / 0.8301 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.813/7.403, allocations: 9.578 kB / 0.8301 GB, free: 9.758 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.480689162854105] Failed to read output from testmodel.py, exit status != 0: 7.479953938629478 7.493418966 6.927612176 Calling exit ...