Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.0009116/0.0009116, 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.0009101/0.0009101, allocations: 173 kB / 23.03 MB, free: 1.543 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 0.9037/0.9037, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7619/0.7619, allocations: 154.6 MB / 414.5 MB, free: 0.6758 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.554e-06/2.554e-06, allocations: 0 / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.59e-05, allocations: 5.703 kB / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001423/0.001449, allocations: 0.8444 MB / 0.5212 GB, free: 1.375 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.002641, allocations: 1.353 MB / 0.5225 GB, free: 12 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.002687, allocations: 3.938 kB / 0.5225 GB, free: 8 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.487e-05/0.002782, allocations: 20.56 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.039e-05/0.002842, allocations: 40.14 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004736/0.003316, allocations: 252.6 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.003564, allocations: 327.4 kB / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.78e-05/0.003661, allocations: 37.66 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.003837, allocations: 204.2 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.003956, allocations: 81.64 kB / 0.5234 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.003986, allocations: 20 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.911e-05/0.004055, allocations: 43.86 kB / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.679e-05/0.004102, allocations: 45.53 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.888e-05/0.004171, allocations: 79.81 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.004373, allocations: 219.3 kB / 0.5238 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.004374, allocations: 0 / 0.5238 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.663e-06/0.004376, allocations: 4 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.00438, allocations: 1.375 kB / 0.5238 GB, free: 14.66 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004745/0.004854, allocations: 0.5654 MB / 0.5243 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.793e-05/0.004882, allocations: 16.5 kB / 0.5244 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.005097, allocations: 76.75 kB / 0.5244 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.005296, allocations: 202.3 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.005318, allocations: 16.36 kB / 0.5246 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.005342, allocations: 25.78 kB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.00549, allocations: 149.5 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.005498, allocations: 192 / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.005507, allocations: 4.375 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.005515, allocations: 5.719 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.397e-05/0.005569, allocations: 39.84 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.006056, allocations: 0.8433 MB / 0.5257 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.037e-05/0.006116, allocations: 62.22 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.006139, allocations: 27.42 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.468e-06/0.006144, allocations: 0 / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.742e-05/0.006241, allocations: 112.3 kB / 0.5259 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 7.91e-07/0.006242, allocations: 0 / 0.5259 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001757/0.006417, allocations: 109.5 kB / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.006449, allocations: 89.66 kB / 0.5261 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.006585, allocations: 251.4 kB / 0.5263 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.006607, allocations: 33.7 kB / 0.5263 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.703e-05/0.006684, allocations: 195.9 kB / 0.5265 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.006698, allocations: 19.83 kB / 0.5265 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.477e-05/0.006773, allocations: 71.33 kB / 0.5266 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.006875, allocations: 0.4976 MB / 0.5271 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.006978, allocations: 115.4 kB / 0.5272 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.007114, allocations: 255.6 kB / 0.5274 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.007253, allocations: 199.2 kB / 0.5276 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.007255, allocations: 4 kB / 0.5276 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002924/0.007548, allocations: 346.5 kB / 0.528 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.007584, allocations: 71.33 kB / 0.528 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.007589, allocations: 7.984 kB / 0.528 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.0076, allocations: 2.75 kB / 0.528 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.033e-05/0.00764, allocations: 15.94 kB / 0.5281 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.007645, allocations: 4 kB / 0.5281 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.007801, allocations: 43.91 kB / 0.5281 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.007821, allocations: 11.98 kB / 0.5281 GB, free: 9.793 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.618e-05/0.007907, allocations: 185.2 kB / 0.5283 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.007923, allocations: 15.91 kB / 0.5283 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/0.007948, allocations: 25.89 kB / 0.5283 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.00795, allocations: 0 / 0.5283 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.007954, allocations: 4.938 kB / 0.5283 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.007957, allocations: 3.938 kB / 0.5283 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.00806, allocations: 173.2 kB / 0.5285 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.008061, allocations: 0 / 0.5285 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.17e-05/0.008072, allocations: 5.062 kB / 0.5285 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.008076, allocations: 4 kB / 0.5285 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-06/0.008081, allocations: 0 / 0.5285 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.008083, allocations: 6.438 kB / 0.5285 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.008084, allocations: 0 / 0.5285 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.008193, allocations: 144 kB / 0.5287 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.008206, allocations: 11.91 kB / 0.5287 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.008217, allocations: 7.938 kB / 0.5287 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.753e-05/0.008235, allocations: 7.938 kB / 0.5287 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.008256, allocations: 7.984 kB / 0.5287 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.008261, allocations: 7.125 kB / 0.5287 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.364e-05/0.008335, allocations: 178 kB / 0.5289 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.008335, allocations: 0 / 0.5289 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001622/0.008497, allocations: 47.89 kB / 0.5289 GB, free: 8.922 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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 8.701e-05/0.008584, allocations: 99.7 kB / 0.529 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.008821, allocations: 297.3 kB / 0.5293 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.92e-07/0.008822, allocations: 0 / 0.5293 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.218e-05/0.008854, allocations: 31.95 kB / 0.5293 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.009028, allocations: 46.22 kB / 0.5294 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.009345, allocations: 309.8 kB / 0.5297 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.894e-05/0.009384, allocations: 71.98 kB / 0.5297 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.074e-05/0.009425, allocations: 21.47 kB / 0.5298 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.03e-05/0.009445, allocations: 16.5 kB / 0.5298 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.009446, allocations: 3.125 kB / 0.5298 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of Templates: time 0.00402/0.01347, allocations: 2.828 MB / 0.5325 GB, free: 5.301 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5695423963479698]