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.001004/0.001004, allocations: 93.06 kB / 19.65 MB, free: 280 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.001395/0.001395, allocations: 169 kB / 23.02 MB, free: 1.555 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.9639/0.9639, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.8699/0.8699, allocations: 154.6 MB / 414.5 MB, free: 0.6641 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 3.246e-06/3.246e-06, allocations: 3.984 kB / 0.5204 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.962e-05, allocations: 4.781 kB / 0.5204 GB, free: 2.164 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.00137/0.001399, allocations: 0.5976 MB / 0.5209 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000842/0.002241, allocations: 0.8611 MB / 0.5218 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.1e-05/0.002272, allocations: 5.031 kB / 0.5218 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.002302, allocations: 0 / 0.5218 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.24e-05/0.002364, allocations: 10.67 kB / 0.5218 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.002549, allocations: 15.88 kB / 0.5218 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.277e-05/0.002612, allocations: 15.92 kB / 0.5218 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.002654, allocations: 4.625 kB / 0.5218 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.002793, allocations: 23.91 kB / 0.5219 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.162e-05/0.002845, allocations: 5.469 kB / 0.5219 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.002858, allocations: 0 / 0.5219 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.446e-05/0.002902, allocations: 11.94 kB / 0.5219 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.757e-06/0.002911, allocations: 0 / 0.5219 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.738e-05/0.002928, allocations: 4.797 kB / 0.5219 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.003035, allocations: 19.97 kB / 0.5219 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003037, allocations: 1.094 kB / 0.5219 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.003038, allocations: 0 / 0.5219 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.003043, allocations: 0 / 0.5219 GB, free: 0.6016 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.0003182/0.003361, allocations: 357.6 kB / 0.5222 GB, free: 220 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.003398, allocations: 12.03 kB / 0.5223 GB, free: 208 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.003509, allocations: 5.906 kB / 0.5223 GB, free: 204 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.867e-05/0.003588, allocations: 112.6 kB / 0.5224 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.003599, allocations: 384 / 0.5224 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.003609, allocations: 0.9688 kB / 0.5224 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.367e-05/0.003703, allocations: 43.69 kB / 0.5224 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.003714, allocations: 4.125 kB / 0.5224 GB, free: 8 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.003723, allocations: 5.062 kB / 0.5224 GB, free: 4 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.003731, allocations: 384 / 0.5224 GB, free: 4 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.61e-05/0.003767, allocations: 12.89 kB / 0.5224 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001123/0.003879, allocations: 112.6 kB / 0.5225 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.011e-05/0.003919, allocations: 25.91 kB / 0.5226 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.678e-05/0.003936, allocations: 7.688 kB / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.003952, allocations: 4.062 kB / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.003974, allocations: 41.38 kB / 0.5226 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.003975, allocations: 0 / 0.5226 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001333/0.004108, allocations: 37.59 kB / 0.5226 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.004141, allocations: 56.56 kB / 0.5227 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.371e-05/0.004235, allocations: 169.9 kB / 0.5229 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.004248, allocations: 25.7 kB / 0.5229 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.004294, allocations: 127.4 kB / 0.523 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.004317, allocations: 4 kB / 0.523 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.004345, allocations: 19.94 kB / 0.523 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.004455, allocations: 493.1 kB / 0.5235 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.00447, allocations: 7.984 kB / 0.5235 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.185e-06/0.004478, allocations: 1.406 kB / 0.5235 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.935e-05/0.004507, allocations: 15.62 kB / 0.5235 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.004509, allocations: 0 / 0.5235 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.318e-05/0.004563, allocations: 34.67 kB / 0.5236 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.004575, allocations: 6.188 kB / 0.5236 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.004579, allocations: 1.969 kB / 0.5236 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.004593, allocations: 4 kB / 0.5236 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/0.004658, allocations: 3.984 kB / 0.5236 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.004662, allocations: 0 / 0.5236 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.584e-05/0.004678, allocations: 7.938 kB / 0.5236 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.004687, allocations: 0.9375 kB / 0.5236 GB, free: 14.68 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 5.832e-05/0.004745, allocations: 152.6 kB / 0.5237 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-06/0.004753, allocations: 8.766 kB / 0.5237 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.004774, allocations: 6.75 kB / 0.5237 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.004775, allocations: 1.156 kB / 0.5237 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.004779, allocations: 0 / 0.5237 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.004782, allocations: 7.922 kB / 0.5238 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.925e-05/0.004842, allocations: 112.6 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.004842, allocations: 10.62 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.598e-05/0.004858, allocations: 4 kB / 0.5239 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.00486, allocations: 0 / 0.5239 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.004867, allocations: 7.969 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.004868, allocations: 0 / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.004869, allocations: 0 / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.17e-05/0.004931, allocations: 70.89 kB / 0.5239 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-06/0.004935, allocations: 0 / 0.5239 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.004946, allocations: 7.984 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-06/0.004955, allocations: 0 / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.004988, allocations: 4 kB / 0.524 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.004991, allocations: 0 / 0.524 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.732e-05/0.005038, allocations: 127.4 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005038, allocations: 0.5938 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001167/0.005155, allocations: 7.938 kB / 0.5241 GB, free: 14.11 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.347e-05/0.005228, allocations: 100.2 kB / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.847e-05/0.005297, allocations: 12.34 kB / 0.5242 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.005298, allocations: 3.438 kB / 0.5242 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.335e-05/0.005312, allocations: 11.69 kB / 0.5242 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001103/0.005422, allocations: 4 kB / 0.5242 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.005863, allocations: 118.3 kB / 0.5243 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.673e-05/0.0059, allocations: 59.34 kB / 0.5244 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.771e-05/0.005917, allocations: 6.656 kB / 0.5244 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.005945, allocations: 8.5 kB / 0.5244 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of SimCode: time 1.132e-06/0.005947, allocations: 0 / 0.5244 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.001856/0.007803, allocations: 303.1 kB / 0.5247 GB, free: 13.45 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.915786166675389]