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.0009958/0.0009958, allocations: 92.22 kB / 19.65 MB, free: 276 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.001019/0.001019, allocations: 169 kB / 23.02 MB, free: 1.547 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.051/1.051, 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.801/0.801, allocations: 154.8 MB / 414.7 MB, free: 0.5078 MB / 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.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 1.272e-06/1.272e-06, allocations: 0 / 0.5206 GB, free: 1.988 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.799e-05, allocations: 3.094 kB / 0.5206 GB, free: 1.984 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001456/0.001474, allocations: 0.9796 MB / 0.5215 GB, free: 1.027 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.003078, allocations: 1.384 MB / 0.5229 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.003139, allocations: 4 kB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.003249, allocations: 20.64 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.024e-05/0.003329, allocations: 44.88 kB / 0.5229 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.003887, allocations: 264 kB / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.004181, allocations: 392.8 kB / 0.5236 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.00432, allocations: 45.75 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.00452, allocations: 215.7 kB / 0.5238 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.004655, allocations: 107.3 kB / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/0.004698, allocations: 36 kB / 0.5239 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.613e-05/0.004794, allocations: 61.06 kB / 0.524 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.00494, allocations: 63.77 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.538e-05/0.005035, allocations: 95.8 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.005301, allocations: 291.9 kB / 0.5244 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.005302, allocations: 0 / 0.5244 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.92e-07/0.005303, allocations: 1.188 kB / 0.5244 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.005307, allocations: 0 / 0.5244 GB, free: 14.03 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.0006313/0.005939, allocations: 0.6244 MB / 0.525 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.005973, allocations: 12.03 kB / 0.5251 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.00621, allocations: 85.33 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.006635, allocations: 277.5 kB / 0.5254 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.006658, allocations: 12.38 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.006689, allocations: 25.11 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.006973, allocations: 188.5 kB / 0.5256 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.006985, allocations: 192 / 0.5256 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.007, allocations: 8.375 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.00701, allocations: 12.06 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.00711, allocations: 43.91 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006792/0.00779, allocations: 1.004 MB / 0.5267 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.007901, allocations: 157 kB / 0.5268 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.655e-05/0.007947, allocations: 46.44 kB / 0.5268 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.007958, allocations: 9.594 kB / 0.5269 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.008092, allocations: 147.3 kB / 0.527 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.008093, allocations: 4.969 kB / 0.527 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002528/0.008346, allocations: 135.4 kB / 0.5271 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.008406, allocations: 166.1 kB / 0.5273 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.008723, allocations: 272.3 kB / 0.5276 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.008748, allocations: 33.7 kB / 0.5276 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.535e-05/0.008833, allocations: 199.8 kB / 0.5278 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.008858, allocations: 31.78 kB / 0.5278 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.045e-05/0.008929, allocations: 60.06 kB / 0.5279 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.009041, allocations: 0.504 MB / 0.5284 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.009158, allocations: 112 kB / 0.5285 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.009316, allocations: 274.3 kB / 0.5287 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.009476, allocations: 215.4 kB / 0.5289 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.009479, allocations: 4 kB / 0.5289 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000339/0.009818, allocations: 362.8 kB / 0.5293 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.009853, allocations: 67.39 kB / 0.5293 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.009858, allocations: 0 / 0.5293 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.009874, allocations: 7.938 kB / 0.5293 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.103e-05/0.009955, allocations: 22.08 kB / 0.5294 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.00996, allocations: 0 / 0.5294 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.01011, allocations: 56.77 kB / 0.5294 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.01013, allocations: 15.98 kB / 0.5294 GB, free: 8.379 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 8.828e-05/0.01022, allocations: 173.2 kB / 0.5296 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.01024, allocations: 32.83 kB / 0.5296 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.01028, allocations: 21.33 kB / 0.5297 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01028, allocations: 4 kB / 0.5297 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01029, allocations: 0.6562 kB / 0.5297 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.01029, allocations: 7.984 kB / 0.5297 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.01042, allocations: 187.8 kB / 0.5298 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.01043, allocations: 4 kB / 0.5299 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.01047, allocations: 15.98 kB / 0.5299 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01047, allocations: 7.938 kB / 0.5299 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.01048, allocations: 7.938 kB / 0.5299 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01048, allocations: 4 kB / 0.5299 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.01049, allocations: 7.984 kB / 0.5299 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.01064, allocations: 182.1 kB / 0.5301 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/0.01066, allocations: 15.91 kB / 0.5301 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.01068, allocations: 11.88 kB / 0.5301 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.361e-05/0.01072, allocations: 11.98 kB / 0.5301 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.01077, allocations: 19.97 kB / 0.5301 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.01078, allocations: 4 kB / 0.5301 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.394e-05/0.01086, allocations: 189.1 kB / 0.5303 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.01086, allocations: 0 / 0.5303 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001853/0.01105, allocations: 53.7 kB / 0.5304 GB, free: 7.367 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.0001033/0.01115, allocations: 99.25 kB / 0.5305 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002753/0.01143, allocations: 308.6 kB / 0.5307 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01143, allocations: 0 / 0.5307 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.299e-05/0.01148, allocations: 40.77 kB / 0.5308 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.0117, allocations: 54.45 kB / 0.5308 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.01213, allocations: 395.6 kB / 0.5312 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.549e-05/0.01217, allocations: 79.98 kB / 0.5313 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.7e-05/0.01224, allocations: 35.7 kB / 0.5313 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.01227, allocations: 24.47 kB / 0.5314 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.01227, allocations: 0 / 0.5314 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of Templates: time 0.004848/0.01712, allocations: 3.32 MB / 0.5346 GB, free: 3.117 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: 4.056554824113846]