Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.00106/0.00106, allocations: 92.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.001255/0.001255, 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.9706/0.9706, 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.7552/0.7552, allocations: 154.6 MB / 414.9 MB, free: 0.6914 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.789e-06/4.789e-06, allocations: 4 kB / 0.5204 GB, free: 2.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/3.074e-05, allocations: 3 kB / 0.5204 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001499/0.00153, allocations: 0.5815 MB / 0.5209 GB, free: 1.961 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.24e-05/0.001572, allocations: 0 / 0.5209 GB, free: 1.961 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.803e-05/0.0016, allocations: 0.5 kB / 0.5209 GB, free: 1.961 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.001624, allocations: 0 / 0.5209 GB, free: 1.961 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.729e-05/0.001652, allocations: 1.797 kB / 0.5209 GB, free: 1.961 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.157e-05/0.001683, allocations: 0 / 0.5209 GB, free: 1.961 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.688e-05/0.00174, allocations: 9.125 kB / 0.521 GB, free: 1.953 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.001784, allocations: 8.125 kB / 0.521 GB, free: 1.945 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.67e-05/0.001811, allocations: 0 / 0.521 GB, free: 1.945 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.3e-05/0.001834, allocations: 0 / 0.521 GB, free: 1.945 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.001854, allocations: 5.781 kB / 0.521 GB, free: 1.941 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.978e-06/0.001858, allocations: 0 / 0.521 GB, free: 1.941 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.00187, allocations: 0 / 0.521 GB, free: 1.941 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.756e-05/0.001888, allocations: 0 / 0.521 GB, free: 1.941 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.895e-05/0.001947, allocations: 0 / 0.521 GB, free: 1.941 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.001949, allocations: 1.812 kB / 0.521 GB, free: 1.941 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.00195, allocations: 0 / 0.521 GB, free: 1.941 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.001954, allocations: 0 / 0.521 GB, free: 1.941 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002777/0.002232, allocations: 344.4 kB / 0.5213 GB, free: 1.566 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.002275, allocations: 12.03 kB / 0.5213 GB, free: 1.555 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.002309, allocations: 2.594 kB / 0.5213 GB, free: 1.555 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.336e-05/0.002402, allocations: 104.6 kB / 0.5214 GB, free: 1.426 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.002413, allocations: 384 / 0.5214 GB, free: 1.426 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.002421, allocations: 4.375 kB / 0.5214 GB, free: 1.422 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.645e-05/0.002498, allocations: 31 kB / 0.5214 GB, free: 1.387 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.002505, allocations: 1.594 kB / 0.5214 GB, free: 1.387 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.002513, allocations: 384 / 0.5214 GB, free: 1.387 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.002521, allocations: 384 / 0.5215 GB, free: 1.387 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.486e-05/0.002536, allocations: 11.88 kB / 0.5215 GB, free: 1.375 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.002835, allocations: 471.6 kB / 0.5219 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.002939, allocations: 265.4 kB / 0.5222 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.00298, allocations: 130.8 kB / 0.5223 GB, free: 484 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.003015, allocations: 124.5 kB / 0.5224 GB, free: 360 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.609e-05/0.003071, allocations: 160.5 kB / 0.5226 GB, free: 188 kB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.003072, allocations: 0 / 0.5226 GB, free: 188 kB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 6.798e-05/0.00314, allocations: 33.64 kB / 0.5226 GB, free: 148 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/0.003221, allocations: 177.3 kB / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.244e-05/0.003313, allocations: 149.9 kB / 0.5229 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.003323, allocations: 25.7 kB / 0.5229 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.003367, allocations: 126.9 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.003369, allocations: 0 / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.003393, allocations: 19.38 kB / 0.5231 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.003529, allocations: 492.6 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.529e-06/0.003534, allocations: 0 / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-06/0.003541, allocations: 8.453 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.558e-05/0.003576, allocations: 120.2 kB / 0.5237 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.28e-05/0.003609, allocations: 123.2 kB / 0.5238 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.716e-05/0.003666, allocations: 33.7 kB / 0.5238 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.121e-05/0.003717, allocations: 124.8 kB / 0.5239 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-05/0.003756, allocations: 127.1 kB / 0.5241 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003319/0.004088, allocations: 242.3 kB / 0.5243 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.012e-05/0.004118, allocations: 119.3 kB / 0.5244 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.658e-05/0.004184, allocations: 251.3 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.168e-05/0.004256, allocations: 123.2 kB / 0.5248 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.004287, allocations: 122.4 kB / 0.5249 GB, free: 13.75 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001278/0.004414, allocations: 402.9 kB / 0.5253 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.004472, allocations: 145.2 kB / 0.5254 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.086e-05/0.004523, allocations: 151.8 kB / 0.5255 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-05/0.004588, allocations: 272 kB / 0.5258 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.898e-05/0.004657, allocations: 268.1 kB / 0.5261 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.844e-05/0.004715, allocations: 268 kB / 0.5263 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.004899, allocations: 495.9 kB / 0.5268 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.259e-05/0.004932, allocations: 151.7 kB / 0.5269 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.081e-05/0.004973, allocations: 156.8 kB / 0.5271 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.949e-05/0.005032, allocations: 264.1 kB / 0.5273 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.014e-05/0.005092, allocations: 268 kB / 0.5276 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.189e-05/0.005154, allocations: 276 kB / 0.5278 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-05/0.005212, allocations: 268 kB / 0.5281 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.00534, allocations: 444 kB / 0.5285 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.005382, allocations: 156.8 kB / 0.5287 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.655e-05/0.005448, allocations: 269.5 kB / 0.5289 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.005518, allocations: 152.8 kB / 0.5291 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.005588, allocations: 272 kB / 0.5293 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.005621, allocations: 145.7 kB / 0.5295 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.997e-05/0.005661, allocations: 121.3 kB / 0.5296 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.005661, allocations: 0 / 0.5296 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002337/0.005895, allocations: 4 kB / 0.5296 GB, free: 8.715 MB / 0.4948 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.0001186/0.006013, allocations: 210.4 kB / 0.5298 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.377e-05/0.006057, allocations: 6.375 kB / 0.5298 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006058, allocations: 0 / 0.5298 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.00606, allocations: 0 / 0.5298 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.006426, allocations: 0.7139 MB / 0.5305 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000215/0.006641, allocations: 208.6 kB / 0.5307 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.349e-05/0.006674, allocations: 51.36 kB / 0.5307 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.973e-06/0.006676, allocations: 2.156 kB / 0.5307 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.081e-05/0.006687, allocations: 8.5 kB / 0.5308 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.006687, allocations: 0 / 0.5308 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of Templates: time 0.001665/0.008352, allocations: 166.3 kB / 0.5309 GB, free: 7.309 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7853030930273235]