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.0009391/0.0009391, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001485/0.001485, allocations: 169 kB / 24.06 MB, free: 448 kB / 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.9025/0.9025, allocations: 177.1 MB / 204.5 MB, free: 5.469 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.7334/0.7334, allocations: 154.6 MB / 415.6 MB, free: 0.5312 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 1.533e-06/1.533e-06, allocations: 0 / 0.5216 GB, free: 1.805 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154e-05/1.308e-05, allocations: 7.094 kB / 0.5216 GB, free: 1.801 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001094/0.001107, allocations: 0.7285 MB / 0.5223 GB, free: 1.094 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006916/0.001799, allocations: 0.8763 MB / 0.5232 GB, free: 212 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.652e-05/0.001845, allocations: 0 / 0.5232 GB, free: 212 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.002012, allocations: 59.73 kB / 0.5232 GB, free: 152 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.277e-05/0.002055, allocations: 43.81 kB / 0.5233 GB, free: 108 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.453e-05/0.00211, allocations: 12.52 kB / 0.5233 GB, free: 96 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.072e-05/0.0022, allocations: 96.17 kB / 0.5234 GB, free: 0 / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.002302, allocations: 16.06 kB / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.494e-05/0.002367, allocations: 48.89 kB / 0.5234 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.002467, allocations: 83.75 kB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.002486, allocations: 8.719 kB / 0.5235 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-06/0.002496, allocations: 9.156 kB / 0.5235 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.306e-05/0.002539, allocations: 31.91 kB / 0.5236 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.002568, allocations: 31.89 kB / 0.5236 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.172e-05/0.00266, allocations: 91.66 kB / 0.5237 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.002661, allocations: 4.938 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002662, allocations: 0 / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.002665, allocations: 1.531 kB / 0.5237 GB, free: 15.68 MB / 0.4948 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.0003675/0.003033, allocations: 448.1 kB / 0.5241 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.00306, allocations: 13.06 kB / 0.5241 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.00309, allocations: 16.89 kB / 0.5241 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.003205, allocations: 153.1 kB / 0.5243 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.003213, allocations: 4.375 kB / 0.5243 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.003222, allocations: 1.656 kB / 0.5243 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.003368, allocations: 117.4 kB / 0.5244 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.003375, allocations: 0.9375 kB / 0.5244 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.003383, allocations: 8.312 kB / 0.5244 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.003387, allocations: 1.219 kB / 0.5244 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.706e-05/0.003434, allocations: 27.91 kB / 0.5244 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.003767, allocations: 444.8 kB / 0.5249 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.72e-05/0.003864, allocations: 78.2 kB / 0.5249 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.003894, allocations: 29.5 kB / 0.525 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.003901, allocations: 0 / 0.525 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.00392, allocations: 41.39 kB / 0.525 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.003921, allocations: 0 / 0.525 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001542/0.004075, allocations: 85.55 kB / 0.5251 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.004105, allocations: 77.11 kB / 0.5252 GB, free: 14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/0.004192, allocations: 219.7 kB / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.004203, allocations: 25.7 kB / 0.5254 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.00425, allocations: 158.7 kB / 0.5256 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.004273, allocations: 29.14 kB / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.004306, allocations: 27.38 kB / 0.5256 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.004414, allocations: 0.5001 MB / 0.5261 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.859e-05/0.004433, allocations: 4 kB / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.804e-05/0.004461, allocations: 28.14 kB / 0.5261 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.764e-05/0.004508, allocations: 43.3 kB / 0.5262 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.00451, allocations: 0.8125 kB / 0.5262 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.243e-05/0.004592, allocations: 73.94 kB / 0.5262 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.004603, allocations: 9.438 kB / 0.5262 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.004606, allocations: 4 kB / 0.5262 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.274e-06/0.004614, allocations: 0 / 0.5262 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.463e-05/0.004688, allocations: 24.59 kB / 0.5263 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-06/0.004691, allocations: 0 / 0.5263 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.93e-05/0.00473, allocations: 16.94 kB / 0.5263 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.004735, allocations: 0 / 0.5263 GB, free: 12.79 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.969e-05/0.004805, allocations: 161.1 kB / 0.5264 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.004836, allocations: 12.62 kB / 0.5265 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.004861, allocations: 20.91 kB / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.004863, allocations: 4 kB / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.004864, allocations: 0.7188 kB / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.004867, allocations: 0 / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.005001, allocations: 134.3 kB / 0.5266 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.005003, allocations: 3.938 kB / 0.5266 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.923e-05/0.005052, allocations: 23.92 kB / 0.5266 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.005054, allocations: 9.781 kB / 0.5266 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.00506, allocations: 0 / 0.5266 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.00506, allocations: 0 / 0.5266 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.005062, allocations: 4.094 kB / 0.5266 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.005202, allocations: 340.1 kB / 0.527 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.005213, allocations: 19.83 kB / 0.527 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.005223, allocations: 0 / 0.527 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.357e-05/0.005287, allocations: 9.094 kB / 0.527 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.005321, allocations: 19.91 kB / 0.527 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.005326, allocations: 4 kB / 0.527 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.592e-05/0.005371, allocations: 154.4 kB / 0.5272 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005371, allocations: 0 / 0.5272 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001617/0.005533, allocations: 20 kB / 0.5272 GB, free: 11.82 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 6.093e-05/0.005594, allocations: 91.25 kB / 0.5273 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.457e-05/0.005679, allocations: 39.59 kB / 0.5273 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-06/0.00568, allocations: 0 / 0.5273 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-05/0.005717, allocations: 31.67 kB / 0.5273 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.005936, allocations: 22.95 kB / 0.5274 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/0.006212, allocations: 238.1 kB / 0.5276 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.342e-05/0.006255, allocations: 71.33 kB / 0.5277 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.825e-05/0.006283, allocations: 9 kB / 0.5277 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.32e-05/0.006346, allocations: 78.19 kB / 0.5277 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.006347, allocations: 5.281 kB / 0.5277 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.002453/0.0088, allocations: 1.368 MB / 0.5291 GB, free: 9.883 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.6122461832128465]