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.00167/0.00167, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.00193/0.00193, allocations: 169.4 kB / 24.05 MB, free: 460 kB / 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.048/1.048, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.831/0.831, allocations: 154.9 MB / 415.9 MB, free: 284 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.735e-06/2.735e-06, allocations: 0 / 0.522 GB, free: 1.496 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/3.075e-05, allocations: 3.281 kB / 0.522 GB, free: 1.492 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001372/0.001403, allocations: 0.6683 MB / 0.5226 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008625/0.002266, allocations: 0.8601 MB / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.002299, allocations: 0 / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.002327, allocations: 9.562 kB / 0.5235 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.794e-05/0.002405, allocations: 4 kB / 0.5235 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.002565, allocations: 15.92 kB / 0.5235 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.294e-05/0.002628, allocations: 19.92 kB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.174e-05/0.00271, allocations: 9.375 kB / 0.5235 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.089e-05/0.002781, allocations: 23.84 kB / 0.5235 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.332e-05/0.002814, allocations: 7.984 kB / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.002826, allocations: 0.5312 kB / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.504e-05/0.002872, allocations: 12 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.002887, allocations: 0.75 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.452e-05/0.002901, allocations: 4 kB / 0.5236 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.08e-05/0.002992, allocations: 21.39 kB / 0.5236 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.002994, allocations: 0 / 0.5236 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002995, allocations: 0 / 0.5236 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.002999, allocations: 0 / 0.5236 GB, free: 15.86 MB / 0.4948 GB 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.0003082/0.003307, allocations: 366 kB / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.00335, allocations: 8.031 kB / 0.5239 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.667e-05/0.003436, allocations: 8.891 kB / 0.5239 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.358e-05/0.00351, allocations: 112.2 kB / 0.524 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.003518, allocations: 384 / 0.524 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-06/0.003523, allocations: 384 / 0.524 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.003634, allocations: 58.88 kB / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.003641, allocations: 192 / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.003651, allocations: 4.375 kB / 0.5241 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.003656, allocations: 384 / 0.5241 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.45e-05/0.003681, allocations: 11.92 kB / 0.5241 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.003891, allocations: 228.4 kB / 0.5243 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.087e-05/0.003932, allocations: 27.67 kB / 0.5244 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.003946, allocations: 12.23 kB / 0.5244 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.003961, allocations: 8.969 kB / 0.5244 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.003984, allocations: 33.39 kB / 0.5244 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.003984, allocations: 0 / 0.5244 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001197/0.004104, allocations: 47.06 kB / 0.5245 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.004135, allocations: 51.41 kB / 0.5245 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.67e-05/0.004202, allocations: 157.9 kB / 0.5247 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.004212, allocations: 30.52 kB / 0.5247 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.004256, allocations: 130.9 kB / 0.5248 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.004273, allocations: 8.797 kB / 0.5248 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.004302, allocations: 19.38 kB / 0.5248 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.004434, allocations: 496.1 kB / 0.5253 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.004447, allocations: 5.594 kB / 0.5253 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.006e-05/0.004457, allocations: 4.016 kB / 0.5253 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.595e-05/0.004483, allocations: 15.69 kB / 0.5253 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.004484, allocations: 0.7188 kB / 0.5253 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.903e-05/0.004533, allocations: 38.8 kB / 0.5254 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.004546, allocations: 7.984 kB / 0.5254 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.00455, allocations: 0 / 0.5254 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.584e-06/0.004557, allocations: 5.281 kB / 0.5254 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.4e-05/0.004611, allocations: 8 kB / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-06/0.004613, allocations: 0 / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/0.00463, allocations: 0 / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.004634, allocations: 6.312 kB / 0.5254 GB, free: 13.8 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.298e-05/0.004697, allocations: 160.6 kB / 0.5256 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.004711, allocations: 4 kB / 0.5256 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.837e-05/0.00478, allocations: 41 kB / 0.5256 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.004782, allocations: 3.938 kB / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.004783, allocations: 2.75 kB / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.004786, allocations: 0 / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.988e-05/0.004876, allocations: 105.2 kB / 0.5257 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.004877, allocations: 0 / 0.5257 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.004898, allocations: 7.984 kB / 0.5257 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.004899, allocations: 4 kB / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-06/0.004903, allocations: 0 / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.004904, allocations: 1.281 kB / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.004905, allocations: 0 / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.749e-05/0.004992, allocations: 191.8 kB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.004998, allocations: 8.922 kB / 0.5259 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-06/0.005005, allocations: 0 / 0.5259 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.988e-05/0.005035, allocations: 4.938 kB / 0.5259 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.005062, allocations: 4 kB / 0.5259 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.005065, allocations: 3.938 kB / 0.5259 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.715e-05/0.005103, allocations: 127.8 kB / 0.526 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005103, allocations: 0 / 0.526 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001376/0.00524, allocations: 5.062 kB / 0.526 GB, free: 13.08 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.476e-05/0.005335, allocations: 93.75 kB / 0.5261 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.599e-05/0.005401, allocations: 15.62 kB / 0.5262 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.005402, allocations: 0 / 0.5262 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.616e-05/0.005419, allocations: 15.67 kB / 0.5262 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.005598, allocations: 4 kB / 0.5262 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.005977, allocations: 125.4 kB / 0.5263 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.901e-05/0.006016, allocations: 59.23 kB / 0.5263 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.908e-05/0.006035, allocations: 3.984 kB / 0.5263 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.315e-05/0.006088, allocations: 70.2 kB / 0.5264 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of SimCode: time 1.233e-06/0.00609, allocations: 1.594 kB / 0.5264 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of Templates: time 0.00217/0.008259, allocations: 0.5223 MB / 0.5269 GB, free: 12.13 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.780148193705827]