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.001166/0.001166, 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.0009774/0.0009774, allocations: 218.3 kB / 22.25 MB, free: 3.699 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.9633/0.9633, allocations: 230.6 MB / 256 MB, free: 9.816 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.7696/0.7696, allocations: 203.8 MB / 0.5042 GB, free: 10.79 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.001036/0.001036, allocations: 74.31 kB / 0.7183 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4436, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001322/0.4449, allocations: 0.7512 MB / 0.8186 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001912/0.4451, allocations: 52.55 kB / 0.8187 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.331e-05/0.4451, allocations: 0 / 0.8187 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.4453, allocations: 24.66 kB / 0.8187 GB, free: 0.7383 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.701e-05/0.4453, allocations: 14.42 kB / 0.8187 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.4455, allocations: 24.36 kB / 0.8187 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.4456, allocations: 123.2 kB / 0.8189 GB, free: 0.6758 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.4458, allocations: 89.88 kB / 0.819 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.214e-05/0.4458, allocations: 70.52 kB / 0.819 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.642e-05/0.4459, allocations: 77.25 kB / 0.8191 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.4459, allocations: 11.16 kB / 0.8191 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.999e-05/0.4459, allocations: 16.47 kB / 0.8191 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.446, allocations: 54.62 kB / 0.8192 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.609e-05/0.4461, allocations: 80.36 kB / 0.8192 GB, free: 496 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.4462, allocations: 248.3 kB / 0.8195 GB, free: 400 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.4462, allocations: 0 / 0.8195 GB, free: 400 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4462, allocations: 0 / 0.8195 GB, free: 400 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.4463, allocations: 0 / 0.8195 GB, free: 400 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.0003368/0.4466, allocations: 428.1 kB / 0.8199 GB, free: 32 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.4466, allocations: 8.656 kB / 0.8199 GB, free: 32 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.585e-05/0.4467, allocations: 60.06 kB / 0.82 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.4467, allocations: 27.64 kB / 0.82 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.4469, allocations: 195.7 kB / 0.8202 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.4469, allocations: 16.19 kB / 0.8202 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.4469, allocations: 24.48 kB / 0.8202 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.4473, allocations: 343.6 kB / 0.8205 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4473, allocations: 0 / 0.8205 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.4473, allocations: 5.188 kB / 0.8205 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.4473, allocations: 18.52 kB / 0.8206 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.4475, allocations: 265.2 kB / 0.8208 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007953/0.4483, allocations: 1.056 MB / 0.8218 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.239e-05/0.4484, allocations: 173.8 kB / 0.822 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.251e-05/0.4484, allocations: 80.14 kB / 0.8221 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.4484, allocations: 75.81 kB / 0.8222 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.4485, allocations: 108.2 kB / 0.8223 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.4485, allocations: 0 / 0.8223 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.147e-05/0.4486, allocations: 57.45 kB / 0.8223 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.4486, allocations: 130.7 kB / 0.8224 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/0.449, allocations: 0.4989 MB / 0.8229 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.449, allocations: 26.45 kB / 0.823 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.872e-05/0.4491, allocations: 164.9 kB / 0.8231 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.4491, allocations: 1.688 kB / 0.8231 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.4491, allocations: 32.73 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.768e-05/0.4492, allocations: 336.4 kB / 0.8235 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.241e-05/0.4493, allocations: 49.27 kB / 0.8235 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.166e-05/0.4493, allocations: 95.67 kB / 0.8236 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.4494, allocations: 113.2 kB / 0.8237 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.4494, allocations: 0 / 0.8237 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002124/0.4496, allocations: 184.7 kB / 0.8239 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4497, allocations: 9.719 kB / 0.8239 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4497, allocations: 2.906 kB / 0.8239 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4497, allocations: 10.56 kB / 0.8239 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.938e-05/0.4498, allocations: 22.08 kB / 0.8239 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.4498, allocations: 3.594 kB / 0.8239 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.308e-05/0.4498, allocations: 35.58 kB / 0.824 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.4498, allocations: 7.734 kB / 0.824 GB, free: 13.26 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.0001159/0.45, allocations: 248.7 kB / 0.8242 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.45, allocations: 141.1 kB / 0.8243 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.226e-05/0.4501, allocations: 143.3 kB / 0.8245 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002436/0.4503, allocations: 177.5 kB / 0.8247 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.8e-05/0.4503, allocations: 180.2 kB / 0.8248 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.654e-05/0.4504, allocations: 180.5 kB / 0.825 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.4506, allocations: 463.7 kB / 0.8254 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.389e-05/0.4506, allocations: 105 kB / 0.8255 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.4506, allocations: 107.7 kB / 0.8256 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.762e-05/0.4507, allocations: 185.7 kB / 0.8258 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-05/0.4507, allocations: 181 kB / 0.826 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.718e-05/0.4507, allocations: 182.2 kB / 0.8262 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.605e-05/0.4508, allocations: 178.5 kB / 0.8263 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.4509, allocations: 330.9 kB / 0.8267 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.451, allocations: 140.9 kB / 0.8268 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/0.451, allocations: 186.8 kB / 0.827 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.329e-05/0.4511, allocations: 108.1 kB / 0.8271 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.4511, allocations: 180.2 kB / 0.8272 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.4511, allocations: 108.2 kB / 0.8273 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002939/0.4514, allocations: 363.5 kB / 0.8277 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4514, allocations: 0 / 0.8277 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001773/0.4516, allocations: 27.88 kB / 0.8277 GB, free: 9.684 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.0002886/0.4519, allocations: 0.8307 MB / 0.8285 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.452, allocations: 71.34 kB / 0.8286 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.452, allocations: 0 / 0.8286 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.452, allocations: 0 / 0.8286 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.4524, allocations: 480.4 kB / 0.8291 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.4549, allocations: 3.279 MB / 0.8323 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.4552, allocations: 0.7753 MB / 0.833 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.974e-05/0.4553, allocations: 47.23 kB / 0.8331 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.028e-05/0.4553, allocations: 66.72 kB / 0.8331 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of SimCode: time 7.41e-07/0.4553, allocations: 0 / 0.8331 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.4754, allocations: 4.73 MB / 0.8377 GB, free: 5.113 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.818/7.293, allocations: 5.828 kB / 0.8377 GB, free: 5.113 MB / 0.6198 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.168373669032007] Failed to read output from testmodel.py, exit status != 0: 7.374616879969835 7.388697122 6.940391169 Calling exit ...