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.001849/0.001849, allocations: 84.08 kB / 19.44 MB, free: 332 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.002045/0.002045, allocations: 165.7 kB / 22.76 MB, free: 1.648 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.562/1.562, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 1.437/1.437, allocations: 154.8 MB / 414.4 MB, free: 472 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 178] 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 2.565e-06/2.565e-06, allocations: 0 / 0.5199 GB, free: 2.254 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.087e-05, allocations: 2.969 kB / 0.5199 GB, free: 2.25 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001822/0.001853, allocations: 0.6061 MB / 0.5205 GB, free: 1.664 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.003022, allocations: 0.845 MB / 0.5213 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.003049, allocations: 1.094 kB / 0.5213 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.003068, allocations: 0 / 0.5213 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.617e-05/0.003124, allocations: 9.438 kB / 0.5213 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.003294, allocations: 11.98 kB / 0.5213 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.618e-05/0.00336, allocations: 15.94 kB / 0.5213 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.003398, allocations: 4.797 kB / 0.5214 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.003551, allocations: 23.86 kB / 0.5214 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.314e-05/0.003604, allocations: 17.2 kB / 0.5214 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.003619, allocations: 0 / 0.5214 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.842e-05/0.003657, allocations: 4 kB / 0.5214 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.686e-06/0.003666, allocations: 0 / 0.5214 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.003685, allocations: 5.344 kB / 0.5214 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.84e-05/0.003783, allocations: 15.97 kB / 0.5214 GB, free: 0.707 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.003788, allocations: 4 kB / 0.5214 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.003789, allocations: 0.7812 kB / 0.5214 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.003793, allocations: 4 kB / 0.5214 GB, free: 0.6992 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.0004617/0.004254, allocations: 354 kB / 0.5218 GB, free: 324 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.00429, allocations: 8.031 kB / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.004441, allocations: 16.88 kB / 0.5218 GB, free: 300 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.00456, allocations: 108.6 kB / 0.5219 GB, free: 164 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.00457, allocations: 6.5 kB / 0.5219 GB, free: 160 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.792e-06/0.004577, allocations: 384 / 0.5219 GB, free: 160 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.004684, allocations: 34.25 kB / 0.5219 GB, free: 120 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.004692, allocations: 192 / 0.5219 GB, free: 120 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.004699, allocations: 384 / 0.5219 GB, free: 120 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.004703, allocations: 384 / 0.5219 GB, free: 120 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.096e-05/0.004764, allocations: 21.34 kB / 0.5219 GB, free: 100 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.004941, allocations: 112.7 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.53e-05/0.005036, allocations: 31.06 kB / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.817e-05/0.005084, allocations: 16.7 kB / 0.5221 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.0051, allocations: 0 / 0.5221 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.005134, allocations: 34.36 kB / 0.5221 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.005135, allocations: 0 / 0.5221 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0002088/0.005344, allocations: 54.56 kB / 0.5222 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.005387, allocations: 51.41 kB / 0.5222 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.005523, allocations: 174.4 kB / 0.5224 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.005545, allocations: 26.45 kB / 0.5224 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.005765, allocations: 126.9 kB / 0.5225 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.0058, allocations: 9.156 kB / 0.5226 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.005844, allocations: 19.38 kB / 0.5226 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002874/0.006131, allocations: 496.1 kB / 0.523 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.813e-05/0.00617, allocations: 8.516 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.457e-05/0.006194, allocations: 5.781 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.798e-05/0.006262, allocations: 23.62 kB / 0.5231 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.006264, allocations: 0 / 0.5231 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001021/0.006366, allocations: 47.41 kB / 0.5231 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.00638, allocations: 6.656 kB / 0.5231 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.006384, allocations: 0 / 0.5231 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.006396, allocations: 0 / 0.5231 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.287e-05/0.006459, allocations: 7.984 kB / 0.5231 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.006463, allocations: 1.469 kB / 0.5231 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/0.006491, allocations: 7.875 kB / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.006496, allocations: 0 / 0.5232 GB, free: 14.74 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 0.0001081/0.006605, allocations: 157.3 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.006616, allocations: 4.203 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.00664, allocations: 4.375 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.006644, allocations: 4 kB / 0.5233 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.006649, allocations: 4 kB / 0.5233 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.006654, allocations: 6.688 kB / 0.5233 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.006761, allocations: 116.6 kB / 0.5234 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.006762, allocations: 0 / 0.5234 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.939e-05/0.006792, allocations: 0 / 0.5234 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.006797, allocations: 7.938 kB / 0.5234 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.006803, allocations: 0 / 0.5234 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.006806, allocations: 3.984 kB / 0.5234 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.006807, allocations: 0 / 0.5234 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.006955, allocations: 83.12 kB / 0.5235 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.006963, allocations: 3.984 kB / 0.5235 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.006977, allocations: 4 kB / 0.5235 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.384e-05/0.007, allocations: 0 / 0.5235 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.007034, allocations: 4 kB / 0.5235 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.007037, allocations: 0 / 0.5235 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.456e-05/0.007112, allocations: 128.1 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.007112, allocations: 0 / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001691/0.007281, allocations: 7.938 kB / 0.5237 GB, free: 14.15 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 0.0001134/0.007394, allocations: 93.5 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.007514, allocations: 31.61 kB / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.007516, allocations: 0 / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.007556, allocations: 13.22 kB / 0.5238 GB, free: 14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.007691, allocations: 4 kB / 0.5238 GB, free: 14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.007983, allocations: 115 kB / 0.5239 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.884e-05/0.008042, allocations: 60 kB / 0.524 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.093e-05/0.008063, allocations: 0.5625 kB / 0.524 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.008091, allocations: 12.5 kB / 0.524 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.008092, allocations: 5.375 kB / 0.524 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.002595/0.01069, allocations: 310.2 kB / 0.5243 GB, free: 13.47 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: 6.1852147351019084]