Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001779/0.001779, allocations: 81.5 kB / 19.44 MB, free: 344 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.001934/0.001934, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.544/1.544, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.405/1.405, allocations: 154.8 MB / 414.4 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 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.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0.6562 kB / 0.5198 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.205e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002298/0.00233, allocations: 0.9707 MB / 0.5208 GB, free: 1.332 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.004408, allocations: 1.367 MB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.004472, allocations: 4 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.00459, allocations: 19.73 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.004705, allocations: 44.72 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007537/0.005459, allocations: 269.3 kB / 0.5225 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004949/0.005954, allocations: 387.2 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.006109, allocations: 45.77 kB / 0.5229 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003025/0.006411, allocations: 220.2 kB / 0.5231 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.006609, allocations: 112.9 kB / 0.5232 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.161e-05/0.006681, allocations: 36 kB / 0.5232 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.006815, allocations: 47.98 kB / 0.5233 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.88e-05/0.006914, allocations: 59.77 kB / 0.5233 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.00706, allocations: 99.8 kB / 0.5234 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006578/0.007718, allocations: 448.3 kB / 0.5238 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.007721, allocations: 0 / 0.5238 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.007722, allocations: 4 kB / 0.5238 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.007727, allocations: 0 / 0.5238 GB, free: 14.2 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001002/0.008729, allocations: 0.6404 MB / 0.5245 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.008772, allocations: 8.031 kB / 0.5245 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000357/0.009129, allocations: 80.72 kB / 0.5246 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007763/0.009906, allocations: 289.9 kB / 0.5248 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.009935, allocations: 12.38 kB / 0.5248 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/0.009978, allocations: 21.72 kB / 0.5249 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.01036, allocations: 188.6 kB / 0.525 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.01037, allocations: 4.125 kB / 0.525 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.01039, allocations: 5 kB / 0.5251 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.0104, allocations: 12.06 kB / 0.5251 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.01072, allocations: 91.14 kB / 0.5252 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.01194, allocations: 1.034 MB / 0.5262 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.01225, allocations: 176.4 kB / 0.5263 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.01242, allocations: 79.89 kB / 0.5264 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.01244, allocations: 0 / 0.5264 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003319/0.01277, allocations: 180.7 kB / 0.5266 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.01277, allocations: 0 / 0.5266 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.000651/0.01342, allocations: 216.2 kB / 0.5268 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.01353, allocations: 158.2 kB / 0.5269 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.01385, allocations: 304.3 kB / 0.5272 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.01389, allocations: 40.45 kB / 0.5273 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.01407, allocations: 203.2 kB / 0.5275 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.01411, allocations: 39.73 kB / 0.5275 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.01424, allocations: 63.34 kB / 0.5276 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002752/0.01452, allocations: 0.5157 MB / 0.5281 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.01483, allocations: 155.3 kB / 0.5282 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004222/0.01525, allocations: 324.6 kB / 0.5285 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004973/0.01575, allocations: 270.2 kB / 0.5288 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01575, allocations: 0 / 0.5288 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008268/0.01658, allocations: 443 kB / 0.5292 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.805e-05/0.01666, allocations: 71.39 kB / 0.5293 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.01667, allocations: 0 / 0.5293 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.01669, allocations: 6.438 kB / 0.5293 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.01681, allocations: 15.98 kB / 0.5293 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.01682, allocations: 7.938 kB / 0.5293 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.01713, allocations: 62.59 kB / 0.5294 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.01717, allocations: 15.98 kB / 0.5294 GB, free: 8.031 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0001977/0.01737, allocations: 172.6 kB / 0.5295 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.47e-05/0.01744, allocations: 35.78 kB / 0.5296 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.268e-05/0.01751, allocations: 21.34 kB / 0.5296 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.01752, allocations: 0 / 0.5296 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.153e-05/0.01754, allocations: 7.938 kB / 0.5296 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.01755, allocations: 3.984 kB / 0.5296 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.01791, allocations: 212.5 kB / 0.5298 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01792, allocations: 0 / 0.5298 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.01807, allocations: 23.98 kB / 0.5298 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.01807, allocations: 0 / 0.5298 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.0181, allocations: 7.938 kB / 0.5298 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.01811, allocations: 3.984 kB / 0.5298 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.01811, allocations: 4 kB / 0.5298 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000671/0.01878, allocations: 229.9 kB / 0.5301 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.01883, allocations: 19.84 kB / 0.5301 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.01887, allocations: 7.875 kB / 0.5301 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.01901, allocations: 11.98 kB / 0.5301 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.01911, allocations: 19.97 kB / 0.5301 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.01913, allocations: 8 kB / 0.5301 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004161/0.01955, allocations: 212.6 kB / 0.5303 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01955, allocations: 0 / 0.5303 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005062/0.02005, allocations: 51.89 kB / 0.5304 GB, free: 6.93 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002119/0.02026, allocations: 99.19 kB / 0.5305 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.0213, allocations: 405.7 kB / 0.5309 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.0213, allocations: 0 / 0.5309 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.02159, allocations: 67.86 kB / 0.5309 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/0.02214, allocations: 53.72 kB / 0.531 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.02317, allocations: 403.2 kB / 0.5314 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.02341, allocations: 134.2 kB / 0.5315 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001761/0.02359, allocations: 36.45 kB / 0.5315 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.072e-05/0.02366, allocations: 20.5 kB / 0.5315 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of SimCode: time 7.22e-07/0.02366, allocations: 0.5938 kB / 0.5315 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of Templates: time 0.01155/0.03521, allocations: 3.323 MB / 0.5348 GB, free: 2.5 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.066894500050694]