Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008678/0.0008678, allocations: 76.45 kB / 19.9 MB, free: 16 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.001009/0.001009, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.882/0.882, allocations: 177.2 MB / 203.6 MB, free: 5.777 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-531:686: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-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.6934/0.6934, allocations: 154.9 MB / 414.9 MB, free: 0.5156 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.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 63.91 kB / 0.6199 GB, free: 12.77 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5351/0.5361, allocations: 102 MB / 0.7194 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001926/0.538, allocations: 0.8242 MB / 0.7202 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.5395, allocations: 1.324 MB / 0.7215 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.757e-05/0.5395, allocations: 5.875 kB / 0.7215 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.5396, allocations: 16.5 kB / 0.7216 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-05/0.5397, allocations: 33.23 kB / 0.7216 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006339/0.5403, allocations: 260.9 kB / 0.7218 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003595/0.5407, allocations: 324.5 kB / 0.7221 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.5408, allocations: 41.28 kB / 0.7222 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.5411, allocations: 196.2 kB / 0.7224 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.5412, allocations: 98.91 kB / 0.7225 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.5413, allocations: 30.34 kB / 0.7225 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.5414, allocations: 41 kB / 0.7225 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.384e-05/0.5415, allocations: 46.14 kB / 0.7226 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.828e-05/0.5416, allocations: 105.8 kB / 0.7227 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003842/0.5419, allocations: 348.5 kB / 0.723 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5419, allocations: 0 / 0.723 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.295e-06/0.5419, allocations: 1.062 kB / 0.723 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.542, allocations: 4.641 kB / 0.723 GB, free: 21.29 MB / 0.6355 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.0006059/0.5426, allocations: 487.6 kB / 0.7235 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.5426, allocations: 18 kB / 0.7235 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002904/0.5429, allocations: 71.39 kB / 0.7236 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/0.5433, allocations: 230.9 kB / 0.7238 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.5433, allocations: 14.56 kB / 0.7238 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.5434, allocations: 20.05 kB / 0.7238 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.5436, allocations: 148.6 kB / 0.724 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.5436, allocations: 5.125 kB / 0.724 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.5436, allocations: 5.312 kB / 0.724 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.5436, allocations: 10.8 kB / 0.724 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.5437, allocations: 67.41 kB / 0.724 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.5442, allocations: 0.6363 MB / 0.7247 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.622e-05/0.5443, allocations: 53.67 kB / 0.7247 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.007e-05/0.5443, allocations: 30.31 kB / 0.7248 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.5443, allocations: 1.156 kB / 0.7248 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.5445, allocations: 118.9 kB / 0.7249 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.5445, allocations: 0 / 0.7249 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.000269/0.5448, allocations: 131.3 kB / 0.725 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.5448, allocations: 79.28 kB / 0.7251 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.545, allocations: 212.3 kB / 0.7253 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.545, allocations: 33.98 kB / 0.7253 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.448e-05/0.5451, allocations: 148.2 kB / 0.7254 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.5451, allocations: 12.7 kB / 0.7255 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.308e-05/0.5452, allocations: 65.64 kB / 0.7255 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.546e-05/0.5452, allocations: 324.8 kB / 0.7258 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.5454, allocations: 127.5 kB / 0.7259 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.5455, allocations: 249.6 kB / 0.7262 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.5457, allocations: 195.1 kB / 0.7264 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5457, allocations: 0.8125 kB / 0.7264 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003484/0.546, allocations: 376.7 kB / 0.7267 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.31e-05/0.5461, allocations: 63.5 kB / 0.7268 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5461, allocations: 2.688 kB / 0.7268 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.5461, allocations: 2.156 kB / 0.7268 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.041e-05/0.5461, allocations: 9.516 kB / 0.7268 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.5461, allocations: 6.922 kB / 0.7268 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.5464, allocations: 63.89 kB / 0.7269 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.5464, allocations: 18.02 kB / 0.7269 GB, free: 18.14 MB / 0.6355 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 0.0001049/0.5465, allocations: 146.8 kB / 0.727 GB, free: 18.01 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.5465, allocations: 15.27 kB / 0.727 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/0.5465, allocations: 17.94 kB / 0.7271 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.5466, allocations: 3.938 kB / 0.7271 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5466, allocations: 5.344 kB / 0.7271 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.5466, allocations: 2.141 kB / 0.7271 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.5467, allocations: 162 kB / 0.7272 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5467, allocations: 3.938 kB / 0.7272 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.958e-05/0.5467, allocations: 9.906 kB / 0.7272 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.5467, allocations: 5.281 kB / 0.7272 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.5467, allocations: 2.062 kB / 0.7272 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.5467, allocations: 0 / 0.7272 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5468, allocations: 2.188 kB / 0.7273 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.5469, allocations: 131.5 kB / 0.7274 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.5469, allocations: 18.09 kB / 0.7274 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.5469, allocations: 2.859 kB / 0.7274 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.3e-05/0.547, allocations: 0 / 0.7274 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.547, allocations: 10.81 kB / 0.7274 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/0.547, allocations: 7.562 kB / 0.7274 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.883e-05/0.5471, allocations: 145.9 kB / 0.7276 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5471, allocations: 0 / 0.7276 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002111/0.5473, allocations: 48.09 kB / 0.7276 GB, free: 17.61 MB / 0.6355 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 0.0001343/0.5475, allocations: 113.1 kB / 0.7277 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002913/0.5477, allocations: 297.5 kB / 0.728 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5477, allocations: 0 / 0.728 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.12e-05/0.5478, allocations: 28.78 kB / 0.728 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.548, allocations: 46.2 kB / 0.7281 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004544/0.5485, allocations: 302.3 kB / 0.7284 GB, free: 17.03 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.5486, allocations: 124.9 kB / 0.7285 GB, free: 16.94 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.582e-05/0.5487, allocations: 20.16 kB / 0.7285 GB, free: 16.94 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.5487, allocations: 16.53 kB / 0.7285 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of SimCode: time 1.252e-06/0.5487, allocations: 0 / 0.7285 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of Templates: time 0.005955/0.5546, allocations: 2.683 MB / 0.7311 GB, free: 16.61 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.252130961045623] Failed to read output from testmodel.py, exit status != 0: 0.5619195060571656 0.5711040700000001 0.027176210000000003 Calling exit ...