Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.001135/0.001135, allocations: 92.22 kB / 19.65 MB, free: 276 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.001942/0.001942, allocations: 169 kB / 23.02 MB, free: 1.551 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.045/1.045, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8045/0.8045, allocations: 154.8 MB / 414.7 MB, free: 464 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 0.5206 GB, free: 1.824 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.106e-05, allocations: 3.859 kB / 0.5206 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001578/0.001609, allocations: 0.6539 MB / 0.5213 GB, free: 1.191 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009401/0.002549, allocations: 0.8634 MB / 0.5221 GB, free: 324 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.564e-05/0.002585, allocations: 4 kB / 0.5221 GB, free: 320 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.115e-05/0.002616, allocations: 4.906 kB / 0.5221 GB, free: 316 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.281e-05/0.002679, allocations: 7.984 kB / 0.5221 GB, free: 308 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.00286, allocations: 20.86 kB / 0.5221 GB, free: 288 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.538e-05/0.002925, allocations: 23.86 kB / 0.5222 GB, free: 264 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.432e-05/0.003009, allocations: 8 kB / 0.5222 GB, free: 256 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.385e-05/0.003073, allocations: 12.95 kB / 0.5222 GB, free: 244 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.873e-05/0.003112, allocations: 7.984 kB / 0.5222 GB, free: 236 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.003126, allocations: 1.656 kB / 0.5222 GB, free: 236 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.26e-05/0.003169, allocations: 8 kB / 0.5222 GB, free: 228 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.003181, allocations: 0 / 0.5222 GB, free: 228 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.003204, allocations: 15.92 kB / 0.5222 GB, free: 212 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.003306, allocations: 15.97 kB / 0.5222 GB, free: 196 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.003309, allocations: 0.9375 kB / 0.5222 GB, free: 196 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.00331, allocations: 4 kB / 0.5222 GB, free: 192 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.003315, allocations: 1.219 kB / 0.5222 GB, free: 192 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003703/0.003685, allocations: 356.6 kB / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.003725, allocations: 8.031 kB / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.003828, allocations: 9.516 kB / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.323e-05/0.003911, allocations: 108.6 kB / 0.5227 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.003921, allocations: 2.188 kB / 0.5227 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.003935, allocations: 12.31 kB / 0.5227 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.004065, allocations: 50.95 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.004076, allocations: 4.172 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.004085, allocations: 1.906 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.004092, allocations: 384 / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.984e-05/0.004122, allocations: 7.938 kB / 0.5228 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.004403, allocations: 247.8 kB / 0.523 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.425e-05/0.004457, allocations: 32.28 kB / 0.523 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.145e-05/0.004479, allocations: 7.688 kB / 0.5231 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.0045, allocations: 4.062 kB / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.004524, allocations: 38.02 kB / 0.5231 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.004525, allocations: 4.656 kB / 0.5231 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.000157/0.004682, allocations: 46.95 kB / 0.5231 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.004708, allocations: 51.41 kB / 0.5232 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.559e-05/0.004784, allocations: 165.9 kB / 0.5233 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.004796, allocations: 25.7 kB / 0.5234 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.00484, allocations: 131.9 kB / 0.5235 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.004857, allocations: 7.891 kB / 0.5235 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.004891, allocations: 23.38 kB / 0.5235 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.005014, allocations: 495.7 kB / 0.524 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.005034, allocations: 4 kB / 0.524 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-06/0.005044, allocations: 0 / 0.524 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.402e-05/0.005078, allocations: 15.69 kB / 0.524 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.005081, allocations: 3.984 kB / 0.524 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.484e-05/0.005146, allocations: 33.7 kB / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.005161, allocations: 8 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.005166, allocations: 3.938 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.005181, allocations: 4.469 kB / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.735e-05/0.005258, allocations: 4.562 kB / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.005264, allocations: 4.547 kB / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.005285, allocations: 8 kB / 0.5241 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.00529, allocations: 1.812 kB / 0.5241 GB, free: 14.1 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 (2): * Single equations (assignments): 2 * 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.522e-05/0.005355, allocations: 156.6 kB / 0.5242 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.005377, allocations: 4 kB / 0.5242 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.778e-05/0.005475, allocations: 50.84 kB / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.005477, allocations: 0 / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.005481, allocations: 0 / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005484, allocations: 0 / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.005597, allocations: 120.6 kB / 0.5244 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.005598, allocations: 0 / 0.5244 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.005633, allocations: 6.75 kB / 0.5244 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.005635, allocations: 0 / 0.5244 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.005642, allocations: 3.938 kB / 0.5244 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.005645, allocations: 7.938 kB / 0.5244 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.005646, allocations: 0 / 0.5244 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.005754, allocations: 184 kB / 0.5246 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.787e-06/0.005763, allocations: 5.75 kB / 0.5246 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.005774, allocations: 3.938 kB / 0.5246 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.063e-05/0.005824, allocations: 7.922 kB / 0.5246 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.005871, allocations: 8 kB / 0.5246 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.005875, allocations: 0 / 0.5246 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.005913, allocations: 124.3 kB / 0.5247 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.005913, allocations: 0 / 0.5247 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002113/0.006124, allocations: 4.812 kB / 0.5247 GB, free: 13.36 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 (2): * Single equations (assignments): 2 * 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 9.842e-05/0.006222, allocations: 95.89 kB / 0.5248 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.238e-05/0.006305, allocations: 20.22 kB / 0.5249 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.006306, allocations: 2.969 kB / 0.5249 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.866e-05/0.006325, allocations: 11.69 kB / 0.5249 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.006577, allocations: 7.984 kB / 0.5249 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.007062, allocations: 126.3 kB / 0.525 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.761e-05/0.0071, allocations: 54.48 kB / 0.5251 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.932e-05/0.007119, allocations: 4 kB / 0.5251 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.007149, allocations: 8.5 kB / 0.5251 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.00715, allocations: 3.938 kB / 0.5251 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of Templates: time 0.002274/0.009423, allocations: 487.9 kB / 0.5255 GB, free: 12.52 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9174345657229424]