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.001006/0.001006, allocations: 88.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001697/0.001697, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 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.9803/0.9803, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.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-545:108: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-545:116: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.8319/0.8319, allocations: 154.6 MB / 414.9 MB, free: 0.6875 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 0.5204 GB, free: 2.445 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.25e-05/3.494e-05, allocations: 4.906 kB / 0.5204 GB, free: 2.441 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001738/0.001773, allocations: 0.7542 MB / 0.5211 GB, free: 1.707 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008203/0.002593, allocations: 0.864 MB / 0.522 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.903e-05/0.002652, allocations: 4 kB / 0.522 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.002849, allocations: 59.72 kB / 0.522 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.26e-05/0.002901, allocations: 45.23 kB / 0.5221 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.142e-05/0.002973, allocations: 15.98 kB / 0.5221 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.003091, allocations: 92.58 kB / 0.5222 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.003219, allocations: 15.98 kB / 0.5222 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.392e-05/0.003313, allocations: 47.89 kB / 0.5222 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.003458, allocations: 84.73 kB / 0.5223 GB, free: 488 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.003488, allocations: 9.656 kB / 0.5223 GB, free: 480 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.003502, allocations: 8 kB / 0.5223 GB, free: 472 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.829e-05/0.00357, allocations: 31.91 kB / 0.5224 GB, free: 440 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.003621, allocations: 35.89 kB / 0.5224 GB, free: 404 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.00378, allocations: 87.66 kB / 0.5225 GB, free: 316 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.003783, allocations: 0.7812 kB / 0.5225 GB, free: 316 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.003784, allocations: 0 / 0.5225 GB, free: 316 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.003791, allocations: 1.219 kB / 0.5225 GB, free: 316 kB / 490.7 MB 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.0006017/0.004393, allocations: 473.4 kB / 0.5229 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.00443, allocations: 8.031 kB / 0.523 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.004477, allocations: 20.83 kB / 0.523 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.004637, allocations: 153.1 kB / 0.5231 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.004649, allocations: 4.375 kB / 0.5231 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.004661, allocations: 5.875 kB / 0.5231 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.004866, allocations: 112.8 kB / 0.5232 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.004875, allocations: 192 / 0.5232 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.004889, allocations: 6.781 kB / 0.5232 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.004898, allocations: 384 / 0.5232 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.023e-05/0.004978, allocations: 31.84 kB / 0.5233 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.005454, allocations: 490.7 kB / 0.5237 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.005599, allocations: 86.64 kB / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.817e-05/0.005647, allocations: 32.92 kB / 0.5239 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/0.005656, allocations: 0 / 0.5239 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.005679, allocations: 45.27 kB / 0.5239 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.005681, allocations: 0 / 0.5239 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002263/0.005907, allocations: 82.84 kB / 0.524 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.005947, allocations: 89.05 kB / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.006055, allocations: 213.4 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.006066, allocations: 26.64 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.006127, allocations: 158.8 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.006156, allocations: 24.52 kB / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.006194, allocations: 31.36 kB / 0.5245 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.006314, allocations: 0.4974 MB / 0.525 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.443e-05/0.006348, allocations: 8 kB / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.019e-05/0.006388, allocations: 31.36 kB / 0.525 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.772e-05/0.006456, allocations: 40.03 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.006458, allocations: 3.938 kB / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001128/0.006571, allocations: 78.19 kB / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.006587, allocations: 9.062 kB / 0.5251 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.006593, allocations: 3.984 kB / 0.5252 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.006607, allocations: 4 kB / 0.5252 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.006718, allocations: 30.36 kB / 0.5252 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.006725, allocations: 4 kB / 0.5252 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.006769, allocations: 15.97 kB / 0.5252 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.006776, allocations: 4 kB / 0.5252 GB, free: 13.29 MB / 0.4948 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 6.975e-05/0.006846, allocations: 156.6 kB / 0.5254 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.006879, allocations: 22.97 kB / 0.5254 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.006913, allocations: 20.33 kB / 0.5254 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.006915, allocations: 0 / 0.5254 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.00692, allocations: 0 / 0.5254 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.006924, allocations: 0 / 0.5254 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.007083, allocations: 160.6 kB / 0.5256 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.007084, allocations: 0 / 0.5256 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.383e-05/0.007148, allocations: 23.97 kB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.00715, allocations: 5.531 kB / 0.5256 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.00716, allocations: 3.938 kB / 0.5256 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.007161, allocations: 3.938 kB / 0.5256 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.007162, allocations: 0 / 0.5256 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.007342, allocations: 341.5 kB / 0.5259 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.371e-05/0.007356, allocations: 19.83 kB / 0.5259 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.007371, allocations: 3.938 kB / 0.5259 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.473e-05/0.007446, allocations: 19.98 kB / 0.526 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.007495, allocations: 7.984 kB / 0.526 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.007502, allocations: 8 kB / 0.526 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.883e-05/0.007561, allocations: 159.2 kB / 0.5261 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007561, allocations: 0 / 0.5261 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001695/0.007731, allocations: 16 kB / 0.5261 GB, free: 12.29 MB / 0.4948 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.0001067/0.007837, allocations: 99.17 kB / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.007962, allocations: 43.91 kB / 0.5263 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.007964, allocations: 0 / 0.5263 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.308e-05/0.008007, allocations: 29.2 kB / 0.5263 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.008265, allocations: 15.98 kB / 0.5263 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.008679, allocations: 249 kB / 0.5266 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.918e-05/0.008728, allocations: 75.27 kB / 0.5266 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.734e-05/0.008776, allocations: 20.22 kB / 0.5266 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.008816, allocations: 16.44 kB / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of SimCode: time 9.21e-07/0.008817, allocations: 4.656 kB / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of Templates: time 0.002999/0.01182, allocations: 1.233 MB / 0.5279 GB, free: 10.51 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9992923149839044]