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.001207/0.001207, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.00146/0.00146, allocations: 170 kB / 23.27 MB, free: 1.219 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.9144/0.9144, allocations: 177.2 MB / 203.7 MB, free: 5.488 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.7302/0.7302, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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.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 1.804e-06/1.804e-06, allocations: 0 / 0.5208 GB, free: 1.859 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.379e-05, allocations: 6.375 kB / 0.5208 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001565/0.001589, allocations: 0.6049 MB / 0.5214 GB, free: 1.27 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.002597, allocations: 0.8604 MB / 0.5222 GB, free: 408 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.406e-05/0.002631, allocations: 4 kB / 0.5222 GB, free: 404 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.002655, allocations: 0 / 0.5222 GB, free: 404 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.522e-05/0.00271, allocations: 9.234 kB / 0.5223 GB, free: 396 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.002882, allocations: 11.92 kB / 0.5223 GB, free: 384 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.747e-05/0.00294, allocations: 21.14 kB / 0.5223 GB, free: 364 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.002976, allocations: 4 kB / 0.5223 GB, free: 360 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.003125, allocations: 23.91 kB / 0.5223 GB, free: 336 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.567e-05/0.00317, allocations: 4.625 kB / 0.5223 GB, free: 332 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.003184, allocations: 1.625 kB / 0.5223 GB, free: 332 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.439e-05/0.003229, allocations: 4 kB / 0.5223 GB, free: 328 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.003239, allocations: 4 kB / 0.5223 GB, free: 324 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.305e-05/0.003252, allocations: 0 / 0.5223 GB, free: 324 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.188e-05/0.003344, allocations: 19.92 kB / 0.5223 GB, free: 304 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003346, allocations: 5.094 kB / 0.5223 GB, free: 300 kB / 490.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.003348, allocations: 3.984 kB / 0.5224 GB, free: 296 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.003352, allocations: 0 / 0.5224 GB, free: 296 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003282/0.00368, allocations: 357.4 kB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.003723, allocations: 12.03 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.003838, allocations: 6.156 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.974e-05/0.003917, allocations: 108.6 kB / 0.5228 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.003927, allocations: 1.094 kB / 0.5228 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-06/0.003932, allocations: 384 / 0.5228 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.681e-05/0.004019, allocations: 51.58 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.004026, allocations: 1.188 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.004032, allocations: 384 / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.004037, allocations: 384 / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.651e-05/0.004053, allocations: 12.5 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001042/0.004157, allocations: 97.28 kB / 0.523 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.42e-05/0.004192, allocations: 23.81 kB / 0.523 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.004206, allocations: 10.88 kB / 0.523 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.004221, allocations: 0 / 0.523 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.004243, allocations: 41.45 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.004244, allocations: 0 / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001122/0.004356, allocations: 45.58 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.004383, allocations: 51.41 kB / 0.5231 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.93e-05/0.004462, allocations: 161.9 kB / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.004473, allocations: 25.7 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.004513, allocations: 131.8 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.004534, allocations: 0 / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.004564, allocations: 19.91 kB / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.004703, allocations: 0.4883 MB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.717e-06/0.004712, allocations: 0.9375 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.417e-06/0.004722, allocations: 4 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.607e-05/0.004748, allocations: 9.281 kB / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.004749, allocations: 0 / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.153e-05/0.004811, allocations: 45.62 kB / 0.524 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.004823, allocations: 4.969 kB / 0.524 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.004827, allocations: 0 / 0.524 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.004839, allocations: 6 kB / 0.524 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.082e-05/0.00489, allocations: 4 kB / 0.524 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.004893, allocations: 0 / 0.524 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.671e-05/0.00491, allocations: 0 / 0.524 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.004918, allocations: 7.922 kB / 0.524 GB, free: 14.4 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 6.661e-05/0.004984, allocations: 157.3 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.004993, allocations: 3.953 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.906e-05/0.005012, allocations: 7.469 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.005015, allocations: 4 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.005016, allocations: 0.5312 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.005018, allocations: 0 / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.902e-05/0.005087, allocations: 97.94 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.005088, allocations: 4 kB / 0.5243 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/0.005108, allocations: 1.5 kB / 0.5243 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.00511, allocations: 0 / 0.5243 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.005114, allocations: 0 / 0.5243 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.005116, allocations: 4 kB / 0.5243 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.005117, allocations: 2.75 kB / 0.5243 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.711e-05/0.005194, allocations: 80.31 kB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-06/0.005199, allocations: 0 / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/0.005207, allocations: 0 / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.564e-05/0.005223, allocations: 256 / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.005245, allocations: 7.984 kB / 0.5244 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.005248, allocations: 4 kB / 0.5244 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.169e-05/0.00529, allocations: 133.3 kB / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.00529, allocations: 0 / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001976/0.005488, allocations: 0 / 0.5245 GB, free: 13.86 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 7.859e-05/0.005566, allocations: 95.25 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.313e-05/0.005629, allocations: 16.53 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.005631, allocations: 0.75 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.512e-05/0.005646, allocations: 15.67 kB / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.005789, allocations: 6 kB / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.006163, allocations: 125.7 kB / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.042e-05/0.006193, allocations: 51.36 kB / 0.5248 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.823e-05/0.006212, allocations: 0 / 0.5248 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.006253, allocations: 74.14 kB / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of SimCode: time 7.01e-07/0.006254, allocations: 0 / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.002082/0.008336, allocations: 319.9 kB / 0.5252 GB, free: 13.12 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: 3.2268814141862094]