Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009167/0.0009167, allocations: 81.95 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.001108/0.001108, allocations: 169.7 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.9286/0.9286, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.7385/0.7385, allocations: 154.9 MB / 415.1 MB, free: 268 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.5212 GB, free: 1.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.375e-05, allocations: 4.422 kB / 0.5212 GB, free: 1.316 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001199/0.001223, allocations: 0.6064 MB / 0.5218 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008281/0.002051, allocations: 0.8582 MB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.002089, allocations: 0 / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.002119, allocations: 3.938 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.231e-05/0.002182, allocations: 9.688 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.002354, allocations: 7.922 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.444e-05/0.002409, allocations: 19.94 kB / 0.5226 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.598e-05/0.002445, allocations: 4 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.002576, allocations: 28.59 kB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.012e-05/0.002617, allocations: 3.984 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.002629, allocations: 5.406 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.156e-05/0.00267, allocations: 4 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.002679, allocations: 0 / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.215e-05/0.002691, allocations: 4 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 8.96e-05/0.002781, allocations: 25.16 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002783, allocations: 0 / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.22e-07/0.002784, allocations: 0 / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.002787, allocations: 0 / 0.5227 GB, free: 15.76 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002719/0.003059, allocations: 354.6 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.003093, allocations: 12.03 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.992e-05/0.003183, allocations: 8.922 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.815e-05/0.003251, allocations: 108.6 kB / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.00326, allocations: 2.344 kB / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-06/0.003265, allocations: 4.312 kB / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.93e-05/0.003335, allocations: 50.95 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.003342, allocations: 192 / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.219e-06/0.003347, allocations: 384 / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.003351, allocations: 0.9375 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.185e-05/0.003363, allocations: 8.938 kB / 0.5232 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.768e-05/0.003451, allocations: 89.27 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 2.965e-05/0.00348, allocations: 31.08 kB / 0.5233 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.219e-05/0.003492, allocations: 16.45 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.003505, allocations: 0 / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.003526, allocations: 38.48 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 4.71e-07/0.003526, allocations: 0 / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 9.493e-05/0.003621, allocations: 34.69 kB / 0.5234 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.003645, allocations: 55.41 kB / 0.5235 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.484e-05/0.00371, allocations: 161.9 kB / 0.5236 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.003717, allocations: 31.23 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.003751, allocations: 126.9 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.003775, allocations: 3.984 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.003797, allocations: 19.38 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.003899, allocations: 0.4893 MB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.003909, allocations: 3.938 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-06/0.003915, allocations: 0.6875 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.138e-05/0.003937, allocations: 12.97 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.003938, allocations: 0 / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.169e-05/0.00398, allocations: 33.7 kB / 0.5243 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.003992, allocations: 19.14 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.003996, allocations: 0 / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.004007, allocations: 0.7188 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.169e-05/0.004059, allocations: 4 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.004061, allocations: 3.125 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.192e-05/0.004073, allocations: 0 / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.004078, allocations: 7.875 kB / 0.5244 GB, free: 13.87 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.994e-05/0.004138, allocations: 156.6 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-06/0.004144, allocations: 3.953 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.208e-05/0.004166, allocations: 7.141 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.004168, allocations: 0 / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.004169, allocations: 0 / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.004174, allocations: 7.031 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.951e-05/0.004233, allocations: 97.19 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.004235, allocations: 0 / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.521e-05/0.00425, allocations: 4 kB / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.004252, allocations: 3.984 kB / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-06/0.004257, allocations: 0 / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.004257, allocations: 0 / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.004258, allocations: 0 / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.614e-05/0.004324, allocations: 73.89 kB / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.004332, allocations: 4 kB / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-06/0.004339, allocations: 3.984 kB / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-06/0.004348, allocations: 4.5 kB / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.004368, allocations: 3.984 kB / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.00437, allocations: 0.75 kB / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.322e-05/0.004403, allocations: 130.1 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004403, allocations: 0 / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000111/0.004514, allocations: 4 kB / 0.5249 GB, free: 13.32 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 8.883e-05/0.004603, allocations: 95.23 kB / 0.5249 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.711e-05/0.00466, allocations: 11.69 kB / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.004662, allocations: 0 / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.194e-05/0.004673, allocations: 14.12 kB / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001015/0.004775, allocations: 7.938 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.005094, allocations: 126.2 kB / 0.5251 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.47e-05/0.005118, allocations: 60.72 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.376e-05/0.005132, allocations: 0 / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.005163, allocations: 66.2 kB / 0.5252 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of SimCode: time 4.21e-07/0.005164, allocations: 1.031 kB / 0.5252 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of Templates: time 0.001775/0.006939, allocations: 319.5 kB / 0.5255 GB, free: 12.58 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.398839262779802]