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.00107/0.00107, 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.001064/0.001064, allocations: 165 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 1.067/1.067, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7811/0.7811, allocations: 154.8 MB / 414.7 MB, free: 496 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.774e-06/1.774e-06, allocations: 0 / 0.5206 GB, free: 1.883 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.799e-05, allocations: 5.047 kB / 0.5206 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001136/0.001154, allocations: 0.5967 MB / 0.5212 GB, free: 1.305 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000768/0.001922, allocations: 0.868 MB / 0.522 GB, free: 436 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.001951, allocations: 0.9375 kB / 0.522 GB, free: 436 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.754e-05/0.001978, allocations: 0 / 0.522 GB, free: 436 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.924e-05/0.002027, allocations: 5.547 kB / 0.522 GB, free: 432 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.002213, allocations: 19.86 kB / 0.5221 GB, free: 412 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.904e-05/0.002272, allocations: 19.88 kB / 0.5221 GB, free: 392 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.002313, allocations: 0.9688 kB / 0.5221 GB, free: 392 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.002447, allocations: 15.98 kB / 0.5221 GB, free: 376 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.73e-05/0.002495, allocations: 11.98 kB / 0.5221 GB, free: 364 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.002508, allocations: 2.125 kB / 0.5221 GB, free: 364 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.514e-05/0.002553, allocations: 7.984 kB / 0.5221 GB, free: 356 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.626e-06/0.002561, allocations: 0 / 0.5221 GB, free: 356 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.798e-05/0.002579, allocations: 7.938 kB / 0.5221 GB, free: 348 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.883e-05/0.002668, allocations: 11.98 kB / 0.5221 GB, free: 336 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.00267, allocations: 0.7812 kB / 0.5221 GB, free: 336 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002671, allocations: 0 / 0.5221 GB, free: 336 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.002674, allocations: 0 / 0.5221 GB, free: 336 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.0003432/0.003017, allocations: 361.3 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.003055, allocations: 8.938 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.003171, allocations: 8.922 kB / 0.5225 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.786e-05/0.003249, allocations: 118 kB / 0.5226 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.003259, allocations: 384 / 0.5226 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.003268, allocations: 384 / 0.5226 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.271e-05/0.003361, allocations: 50.95 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.00337, allocations: 0.9688 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.003378, allocations: 384 / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.003386, allocations: 5.156 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.538e-05/0.003401, allocations: 3.938 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001034/0.003505, allocations: 115.8 kB / 0.5228 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.726e-05/0.003542, allocations: 27 kB / 0.5228 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.942e-05/0.003562, allocations: 15.75 kB / 0.5228 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.003576, allocations: 0 / 0.5228 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.003597, allocations: 33.39 kB / 0.5229 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 5.51e-07/0.003597, allocations: 0 / 0.5229 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001291/0.003726, allocations: 33.66 kB / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.003754, allocations: 59.89 kB / 0.5229 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.994e-05/0.003824, allocations: 166.8 kB / 0.5231 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.003833, allocations: 25.7 kB / 0.5231 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.00387, allocations: 135.6 kB / 0.5233 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.003891, allocations: 4 kB / 0.5233 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/0.003914, allocations: 20.33 kB / 0.5233 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.982e-05/0.004014, allocations: 496.1 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047e-05/0.004024, allocations: 0 / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.685e-06/0.004032, allocations: 5.031 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.426e-05/0.004056, allocations: 12.44 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.004058, allocations: 0 / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.288e-05/0.004101, allocations: 38.59 kB / 0.5238 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.004114, allocations: 9.875 kB / 0.5238 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.004117, allocations: 0.5 kB / 0.5238 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.004131, allocations: 3.938 kB / 0.5238 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.395e-05/0.004185, allocations: 1.031 kB / 0.5238 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.004189, allocations: 0 / 0.5238 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.247e-05/0.004202, allocations: 9.156 kB / 0.5238 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.004206, allocations: 0 / 0.5238 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 5.275e-05/0.004259, allocations: 156.6 kB / 0.524 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-06/0.004265, allocations: 8.578 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.012e-05/0.004285, allocations: 3.156 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.71e-07/0.004286, allocations: 1.625 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.004289, allocations: 0 / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.004293, allocations: 3.938 kB / 0.524 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.479e-05/0.004347, allocations: 116.6 kB / 0.5241 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.004348, allocations: 1 kB / 0.5241 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.146e-05/0.00436, allocations: 4 kB / 0.5241 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.004361, allocations: 0 / 0.5241 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.004366, allocations: 0.9062 kB / 0.5241 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.004367, allocations: 0 / 0.5241 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.004367, allocations: 2.906 kB / 0.5241 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.452e-05/0.004422, allocations: 76.31 kB / 0.5242 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-06/0.004429, allocations: 8 kB / 0.5242 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-06/0.004436, allocations: 0 / 0.5242 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-06/0.004444, allocations: 0 / 0.5242 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.004469, allocations: 0 / 0.5242 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.004472, allocations: 3.984 kB / 0.5242 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.108e-05/0.004503, allocations: 128.8 kB / 0.5243 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.004503, allocations: 3.938 kB / 0.5243 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001179/0.004621, allocations: 7.938 kB / 0.5243 GB, free: 13.82 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 6.058e-05/0.004682, allocations: 92.59 kB / 0.5244 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.65e-05/0.004748, allocations: 19.67 kB / 0.5244 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.004749, allocations: 0 / 0.5244 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.285e-05/0.004762, allocations: 14.44 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001044/0.004866, allocations: 3.938 kB / 0.5245 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.005261, allocations: 130.3 kB / 0.5246 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.14e-05/0.005293, allocations: 51.36 kB / 0.5246 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.458e-05/0.005307, allocations: 2.312 kB / 0.5246 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.005334, allocations: 8.5 kB / 0.5246 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.005334, allocations: 0 / 0.5246 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of Templates: time 0.001851/0.007185, allocations: 313.9 kB / 0.5249 GB, free: 13.15 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.8569937450811267]