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.001019/0.001019, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.00124/0.00124, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.007/1.007, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.7827/0.7827, allocations: 154.9 MB / 415.9 MB, free: 264 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.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.523e-06/1.523e-06, allocations: 0 / 0.5219 GB, free: 1.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.81e-05, allocations: 10.7 kB / 0.5219 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001462/0.00148, allocations: 0.9437 MB / 0.5228 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.002965, allocations: 1.386 MB / 0.5242 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.003042, allocations: 7.938 kB / 0.5242 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.003155, allocations: 15.81 kB / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.128e-05/0.003246, allocations: 56.73 kB / 0.5242 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000635/0.003881, allocations: 269.6 kB / 0.5245 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.004256, allocations: 387.2 kB / 0.5249 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.004399, allocations: 45.77 kB / 0.5249 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.004649, allocations: 223.6 kB / 0.5251 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.00479, allocations: 101.7 kB / 0.5252 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.004825, allocations: 24 kB / 0.5252 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.51e-05/0.00491, allocations: 53.05 kB / 0.5253 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.97e-05/0.00497, allocations: 55.77 kB / 0.5253 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.805e-05/0.005048, allocations: 83.81 kB / 0.5254 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.005303, allocations: 259.9 kB / 0.5257 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005305, allocations: 4 kB / 0.5257 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.42e-07/0.005305, allocations: 0.625 kB / 0.5257 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.005311, allocations: 0 / 0.5257 GB, free: 13.64 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.0006054/0.005916, allocations: 0.6208 MB / 0.5263 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.005948, allocations: 12.75 kB / 0.5263 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.006155, allocations: 72.72 kB / 0.5264 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.006372, allocations: 228.2 kB / 0.5266 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.006394, allocations: 16.38 kB / 0.5266 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.006422, allocations: 31.64 kB / 0.5266 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.006644, allocations: 177.2 kB / 0.5268 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.006653, allocations: 4.188 kB / 0.5268 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.006664, allocations: 4.375 kB / 0.5268 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.00667, allocations: 4.375 kB / 0.5268 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.752e-05/0.006728, allocations: 35.84 kB / 0.5268 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008308/0.007559, allocations: 0.9666 MB / 0.5278 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.007669, allocations: 145.1 kB / 0.5279 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.007706, allocations: 46.5 kB / 0.528 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.007717, allocations: 7.938 kB / 0.528 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.007857, allocations: 148.3 kB / 0.5281 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.007858, allocations: 0 / 0.5281 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002261/0.008084, allocations: 139.6 kB / 0.5283 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.008148, allocations: 166.2 kB / 0.5284 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.008291, allocations: 261 kB / 0.5287 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.008315, allocations: 29.7 kB / 0.5287 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/0.008405, allocations: 207.7 kB / 0.5289 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.00843, allocations: 27.78 kB / 0.5289 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.669e-05/0.008507, allocations: 63.92 kB / 0.529 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.008629, allocations: 0.5046 MB / 0.5295 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.844e-05/0.008717, allocations: 103.4 kB / 0.5296 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.008854, allocations: 265.3 kB / 0.5298 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.008999, allocations: 212.8 kB / 0.53 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.009002, allocations: 0 / 0.53 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003021/0.009304, allocations: 332.2 kB / 0.5303 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.009345, allocations: 75.39 kB / 0.5304 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.009351, allocations: 9.984 kB / 0.5304 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.009361, allocations: 7.984 kB / 0.5304 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.648e-05/0.009437, allocations: 23.92 kB / 0.5305 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.009441, allocations: 0 / 0.5305 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.009608, allocations: 57.5 kB / 0.5305 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.009628, allocations: 15.98 kB / 0.5305 GB, free: 8.168 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.976e-05/0.009718, allocations: 173.2 kB / 0.5307 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.009744, allocations: 27.19 kB / 0.5307 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/0.009776, allocations: 29.27 kB / 0.5307 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.009778, allocations: 0 / 0.5307 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.009782, allocations: 4 kB / 0.5307 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.009785, allocations: 0 / 0.5307 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.009901, allocations: 149.1 kB / 0.5309 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.009903, allocations: 4 kB / 0.5309 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/0.009945, allocations: 15.98 kB / 0.5309 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.009947, allocations: 3.125 kB / 0.5309 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.009953, allocations: 8 kB / 0.5309 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.009957, allocations: 11.92 kB / 0.5309 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.009959, allocations: 3.938 kB / 0.5309 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.0101, allocations: 171.1 kB / 0.5311 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.973e-05/0.01012, allocations: 27.8 kB / 0.5311 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.01013, allocations: 0 / 0.5311 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.159e-05/0.01017, allocations: 13.8 kB / 0.5311 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.01021, allocations: 23.84 kB / 0.5312 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.01022, allocations: 8 kB / 0.5312 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.651e-05/0.01028, allocations: 185.1 kB / 0.5313 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01028, allocations: 2.438 kB / 0.5313 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002009/0.01049, allocations: 47.89 kB / 0.5314 GB, free: 7.211 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 9.049e-05/0.01058, allocations: 103.2 kB / 0.5315 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.0108, allocations: 294.5 kB / 0.5318 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.0108, allocations: 4.531 kB / 0.5318 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.55e-05/0.01085, allocations: 40.61 kB / 0.5318 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.01106, allocations: 64.16 kB / 0.5319 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.01148, allocations: 390.9 kB / 0.5322 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.344e-05/0.01153, allocations: 83.97 kB / 0.5323 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.911e-05/0.01159, allocations: 26.3 kB / 0.5324 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.01173, allocations: 130.2 kB / 0.5325 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.01173, allocations: 0 / 0.5325 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of Templates: time 0.005217/0.01694, allocations: 3.645 MB / 0.536 GB, free: 2.57 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: 3.7297630347311497]