Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.002373/0.002373, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 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.002741/0.002741, allocations: 169.2 kB / 22.76 MB, free: 1.66 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 1.613/1.613, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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 1.371/1.371, allocations: 154.6 MB / 414.2 MB, free: 0.6523 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 178] 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.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.167e-06/4.167e-06, allocations: 0 / 0.5197 GB, free: 2.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.825e-05/4.242e-05, allocations: 5.594 kB / 0.5197 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.00205/0.002092, allocations: 0.5965 MB / 0.5202 GB, free: 1.945 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.003425, allocations: 0.8478 MB / 0.5211 GB, free: 1.086 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.003459, allocations: 5.344 kB / 0.5211 GB, free: 1.082 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.364e-05/0.003483, allocations: 0 / 0.5211 GB, free: 1.082 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.161e-05/0.003555, allocations: 3.984 kB / 0.5211 GB, free: 1.078 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.003778, allocations: 12.7 kB / 0.5211 GB, free: 1.066 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.264e-05/0.003861, allocations: 19.86 kB / 0.5211 GB, free: 1.047 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.003907, allocations: 5.219 kB / 0.5211 GB, free: 1.043 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.004105, allocations: 23.92 kB / 0.5211 GB, free: 1.02 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.896e-05/0.004164, allocations: 4.75 kB / 0.5211 GB, free: 1.016 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.004183, allocations: 0 / 0.5211 GB, free: 1.016 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.735e-05/0.004231, allocations: 4 kB / 0.5211 GB, free: 1.012 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.004248, allocations: 8.594 kB / 0.5212 GB, free: 1.004 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.004273, allocations: 8.781 kB / 0.5212 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.004402, allocations: 19.97 kB / 0.5212 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.004405, allocations: 0.9375 kB / 0.5212 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004405, allocations: 0 / 0.5212 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.004411, allocations: 0 / 0.5212 GB, free: 0.9766 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.0007351/0.005146, allocations: 359 kB / 0.5215 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.005201, allocations: 8.031 kB / 0.5215 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.005389, allocations: 12.89 kB / 0.5215 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.005531, allocations: 108.6 kB / 0.5216 GB, free: 448 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.005547, allocations: 384 / 0.5216 GB, free: 448 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.005559, allocations: 8.359 kB / 0.5217 GB, free: 440 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.005705, allocations: 31.67 kB / 0.5217 GB, free: 404 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.005714, allocations: 192 / 0.5217 GB, free: 404 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.005724, allocations: 384 / 0.5217 GB, free: 404 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.005728, allocations: 384 / 0.5217 GB, free: 404 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.12e-05/0.00579, allocations: 16.48 kB / 0.5217 GB, free: 388 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.005976, allocations: 117.7 kB / 0.5218 GB, free: 236 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.164e-05/0.006067, allocations: 34.98 kB / 0.5218 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.206e-05/0.006109, allocations: 12.94 kB / 0.5219 GB, free: 172 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.006127, allocations: 0 / 0.5219 GB, free: 172 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/0.006172, allocations: 41.38 kB / 0.5219 GB, free: 120 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.006173, allocations: 0.5625 kB / 0.5219 GB, free: 120 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002243/0.006397, allocations: 46.66 kB / 0.5219 GB, free: 68 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.006471, allocations: 59.39 kB / 0.522 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.006623, allocations: 175.5 kB / 0.5222 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.006641, allocations: 25.7 kB / 0.5222 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.006718, allocations: 130.9 kB / 0.5223 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.006742, allocations: 3.953 kB / 0.5223 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.006786, allocations: 23.38 kB / 0.5223 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002807/0.007067, allocations: 497.3 kB / 0.5228 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.523e-05/0.007102, allocations: 4 kB / 0.5228 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.957e-05/0.007132, allocations: 8.688 kB / 0.5228 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.705e-05/0.007199, allocations: 20.86 kB / 0.5229 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.007201, allocations: 0 / 0.5229 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001051/0.007306, allocations: 39.14 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.007329, allocations: 14.33 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.007335, allocations: 0 / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.007354, allocations: 3.938 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.688e-05/0.007421, allocations: 0.9062 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.007426, allocations: 4 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.542e-05/0.007462, allocations: 6.688 kB / 0.5229 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.007468, allocations: 0 / 0.5229 GB, free: 15.01 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 (1): * Single equations (assignments): 1 * 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.0001273/0.007596, allocations: 156.6 kB / 0.5231 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.007607, allocations: 3.953 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.007636, allocations: 11.14 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.007637, allocations: 0 / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.00764, allocations: 0 / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.007646, allocations: 6.688 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.007765, allocations: 112.6 kB / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007766, allocations: 0 / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-05/0.007799, allocations: 3.984 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.007801, allocations: 0 / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.007811, allocations: 4 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.007813, allocations: 4 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007813, allocations: 1.312 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.007961, allocations: 80.31 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.007969, allocations: 4 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.007981, allocations: 0.5 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.554e-05/0.008007, allocations: 4.656 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.008048, allocations: 7.922 kB / 0.5233 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.008051, allocations: 3.438 kB / 0.5233 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.357e-05/0.008135, allocations: 127.4 kB / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008135, allocations: 0 / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001724/0.008307, allocations: 7.938 kB / 0.5234 GB, free: 14.43 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 (1): * Single equations (assignments): 1 * 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.0001456/0.008453, allocations: 95.25 kB / 0.5235 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001346/0.008587, allocations: 19.67 kB / 0.5235 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.008589, allocations: 2.469 kB / 0.5235 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.504e-05/0.008634, allocations: 19.69 kB / 0.5236 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.008782, allocations: 3.938 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.009139, allocations: 118.4 kB / 0.5237 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.221e-05/0.009211, allocations: 60.19 kB / 0.5237 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.528e-05/0.009236, allocations: 0 / 0.5237 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.009267, allocations: 9.688 kB / 0.5237 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of SimCode: time 4e-07/0.009267, allocations: 0 / 0.5237 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of Templates: time 0.0031/0.01237, allocations: 301.1 kB / 0.524 GB, free: 13.76 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.17520100902766]