Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009023/0.0009023, allocations: 109.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.000963/0.000963, allocations: 216 kB / 22.25 MB, free: 3.73 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.958/0.958, allocations: 230.6 MB / 256 MB, free: 9.629 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.8172/0.8172, allocations: 203.5 MB / 0.5039 GB, free: 10.75 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.MatrixMax,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="IDEAS_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.001127/0.001127, allocations: 70.92 kB / 0.7178 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5729/0.5741, allocations: 102 MB / 0.8174 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.00145/0.5755, allocations: 0.7144 MB / 0.8181 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002357/0.5758, allocations: 54.67 kB / 0.8182 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.036e-05/0.5758, allocations: 6.25 kB / 0.8182 GB, free: 0.7656 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.576, allocations: 22.11 kB / 0.8182 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.342e-05/0.576, allocations: 10.08 kB / 0.8182 GB, free: 0.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.5762, allocations: 31.36 kB / 0.8182 GB, free: 0.7344 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000175/0.5763, allocations: 118.6 kB / 0.8184 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.5765, allocations: 90.77 kB / 0.8184 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.182e-05/0.5766, allocations: 73.27 kB / 0.8185 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.885e-05/0.5767, allocations: 79.95 kB / 0.8186 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.5767, allocations: 10.81 kB / 0.8186 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.276e-05/0.5767, allocations: 11.84 kB / 0.8186 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.425e-05/0.5768, allocations: 53.91 kB / 0.8187 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.5768, allocations: 71.5 kB / 0.8187 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.5771, allocations: 239.6 kB / 0.819 GB, free: 440 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5771, allocations: 3.938 kB / 0.819 GB, free: 436 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5771, allocations: 0 / 0.819 GB, free: 436 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.5771, allocations: 0 / 0.819 GB, free: 436 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.0003992/0.5775, allocations: 434.5 kB / 0.8194 GB, free: 64 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.5775, allocations: 8.906 kB / 0.8194 GB, free: 64 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.5776, allocations: 60.19 kB / 0.8194 GB, free: 8 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.5776, allocations: 23.47 kB / 0.8195 GB, free: 16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.5778, allocations: 197.4 kB / 0.8197 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.5779, allocations: 22.62 kB / 0.8197 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.5779, allocations: 18.92 kB / 0.8197 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.5783, allocations: 339.8 kB / 0.82 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5783, allocations: 0 / 0.82 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.5783, allocations: 12.27 kB / 0.82 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/0.5784, allocations: 16.08 kB / 0.82 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.5786, allocations: 262.1 kB / 0.8203 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009133/0.5796, allocations: 1.026 MB / 0.8213 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.888e-05/0.5796, allocations: 177.9 kB / 0.8215 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.5797, allocations: 80.14 kB / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.5797, allocations: 79.28 kB / 0.8216 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.5797, allocations: 108.1 kB / 0.8217 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.5797, allocations: 0 / 0.8217 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.645e-05/0.5798, allocations: 55.86 kB / 0.8218 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.5798, allocations: 128.9 kB / 0.8219 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004325/0.5803, allocations: 0.4942 MB / 0.8224 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.5803, allocations: 26.27 kB / 0.8224 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.849e-05/0.5804, allocations: 174.2 kB / 0.8226 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-06/0.5804, allocations: 5.062 kB / 0.8226 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.5804, allocations: 29.58 kB / 0.8226 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.674e-05/0.5805, allocations: 342.2 kB / 0.8229 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.372e-05/0.5806, allocations: 54.89 kB / 0.823 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-05/0.5806, allocations: 85.36 kB / 0.8231 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.707e-05/0.5807, allocations: 114.6 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5807, allocations: 0 / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002196/0.5809, allocations: 184.9 kB / 0.8234 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.5809, allocations: 5.938 kB / 0.8234 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.581, allocations: 1.375 kB / 0.8234 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.581, allocations: 3.141 kB / 0.8234 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.581, allocations: 19.92 kB / 0.8234 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.5811, allocations: 8.906 kB / 0.8234 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/0.5811, allocations: 39.67 kB / 0.8234 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.5811, allocations: 9.188 kB / 0.8234 GB, free: 13.3 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.0001176/0.5812, allocations: 248.8 kB / 0.8237 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/0.5813, allocations: 135.8 kB / 0.8238 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.425e-05/0.5814, allocations: 136.6 kB / 0.8239 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-05/0.5814, allocations: 181.7 kB / 0.8241 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.424e-05/0.5814, allocations: 186.6 kB / 0.8243 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.764e-05/0.5815, allocations: 177.8 kB / 0.8245 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.5817, allocations: 445.2 kB / 0.8249 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-05/0.5817, allocations: 106.8 kB / 0.825 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-05/0.5818, allocations: 107.1 kB / 0.8251 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-05/0.5818, allocations: 183.2 kB / 0.8253 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.022e-05/0.5819, allocations: 185.2 kB / 0.8254 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.068e-05/0.5819, allocations: 183.1 kB / 0.8256 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.635e-05/0.582, allocations: 182.3 kB / 0.8258 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.5821, allocations: 331 kB / 0.8261 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.648e-05/0.5822, allocations: 142.9 kB / 0.8262 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.467e-05/0.5822, allocations: 181.7 kB / 0.8264 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.5823, allocations: 108.1 kB / 0.8265 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.5823, allocations: 181.9 kB / 0.8267 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.5824, allocations: 107.4 kB / 0.8268 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003139/0.5827, allocations: 363.1 kB / 0.8271 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5827, allocations: 0 / 0.8271 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001827/0.5829, allocations: 32.09 kB / 0.8272 GB, free: 9.738 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.0003426/0.5832, allocations: 0.82 MB / 0.828 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.5833, allocations: 72.75 kB / 0.828 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5833, allocations: 0 / 0.828 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.5833, allocations: 0 / 0.828 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.5837, allocations: 486.6 kB / 0.8285 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.5864, allocations: 3.285 MB / 0.8317 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.5866, allocations: 161.7 kB / 0.8319 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.074e-05/0.5867, allocations: 52.92 kB / 0.8319 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.251e-05/0.5867, allocations: 61.17 kB / 0.832 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.5867, allocations: 5.031 kB / 0.832 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.6112, allocations: 5.218 MB / 0.8371 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.733/7.345, allocations: 7.484 kB / 0.8371 GB, free: 5.324 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.353157462086529] Failed to read output from testmodel.py, exit status != 0: 7.422542846761644 7.434498057 6.854383979 Calling exit ...