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.0008464/0.0008464, allocations: 72.45 kB / 19.9 MB, free: 12 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.001088/0.001088, allocations: 165.9 kB / 23.18 MB, free: 1.379 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.9213/0.9213, allocations: 177.2 MB / 203.6 MB, free: 5.766 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:190: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:198: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.729/0.729, allocations: 155 MB / 415 MB, free: 480 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.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.001002/0.001002, allocations: 63.91 kB / 0.6199 GB, free: 12.75 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.4859/0.4869, allocations: 102 MB / 0.7195 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001618/0.4885, allocations: 0.8401 MB / 0.7203 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.4898, allocations: 1.317 MB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.504e-05/0.4899, allocations: 9.156 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.49, allocations: 20.11 kB / 0.7216 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.783e-05/0.4901, allocations: 30.02 kB / 0.7216 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.4907, allocations: 270.3 kB / 0.7219 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.491, allocations: 328.2 kB / 0.7222 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.4911, allocations: 42.02 kB / 0.7222 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.4913, allocations: 191.5 kB / 0.7224 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.4915, allocations: 95.33 kB / 0.7225 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.4915, allocations: 30.78 kB / 0.7225 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.182e-05/0.4916, allocations: 45.5 kB / 0.7226 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.852e-05/0.4917, allocations: 48.44 kB / 0.7226 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.339e-05/0.4917, allocations: 106.5 kB / 0.7227 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.4921, allocations: 390.6 kB / 0.7231 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.4921, allocations: 4 kB / 0.7231 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4921, allocations: 9.031 kB / 0.7231 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.4921, allocations: 0 / 0.7231 GB, free: 21.28 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.0005266/0.4927, allocations: 486.3 kB / 0.7236 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.4927, allocations: 11.62 kB / 0.7236 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002831/0.493, allocations: 67.72 kB / 0.7237 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.4934, allocations: 238.9 kB / 0.7239 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.4934, allocations: 13.91 kB / 0.7239 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.4935, allocations: 19.7 kB / 0.7239 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.4937, allocations: 150.1 kB / 0.7241 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.4937, allocations: 3.938 kB / 0.7241 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.4937, allocations: 7.375 kB / 0.7241 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.4937, allocations: 1.969 kB / 0.7241 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.211e-05/0.4938, allocations: 64.33 kB / 0.7241 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.4943, allocations: 0.6469 MB / 0.7248 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/0.4943, allocations: 57.39 kB / 0.7248 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.4944, allocations: 26.17 kB / 0.7249 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.4944, allocations: 1.125 kB / 0.7249 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.4945, allocations: 107.6 kB / 0.725 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.4945, allocations: 0 / 0.725 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002323/0.4948, allocations: 126.8 kB / 0.7251 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.4948, allocations: 80.12 kB / 0.7252 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.495, allocations: 220 kB / 0.7254 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.495, allocations: 33.39 kB / 0.7254 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.344e-05/0.495, allocations: 152.5 kB / 0.7255 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.4951, allocations: 16.36 kB / 0.7256 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.749e-05/0.4951, allocations: 62.09 kB / 0.7256 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.002e-05/0.4952, allocations: 328.5 kB / 0.7259 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.4953, allocations: 127.5 kB / 0.726 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.4955, allocations: 243.1 kB / 0.7263 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.4956, allocations: 202.8 kB / 0.7265 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4956, allocations: 0 / 0.7265 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003325/0.4959, allocations: 364.9 kB / 0.7268 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/0.496, allocations: 67.98 kB / 0.7269 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.496, allocations: 1.594 kB / 0.7269 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.496, allocations: 3.469 kB / 0.7269 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.998e-05/0.4961, allocations: 13.3 kB / 0.7269 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4961, allocations: 7.172 kB / 0.7269 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.4963, allocations: 56.48 kB / 0.727 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.4963, allocations: 24.7 kB / 0.727 GB, free: 18.13 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 9.812e-05/0.4964, allocations: 152.2 kB / 0.7271 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.4964, allocations: 19.33 kB / 0.7272 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.4965, allocations: 17.38 kB / 0.7272 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.4965, allocations: 2.297 kB / 0.7272 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4965, allocations: 0 / 0.7272 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4965, allocations: 1.656 kB / 0.7272 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.4966, allocations: 161.6 kB / 0.7273 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4966, allocations: 5.281 kB / 0.7273 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.646e-05/0.4966, allocations: 8.141 kB / 0.7273 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.4966, allocations: 2.297 kB / 0.7273 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.4966, allocations: 1.75 kB / 0.7273 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4966, allocations: 4.75 kB / 0.7273 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4966, allocations: 1.531 kB / 0.7273 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.4967, allocations: 132 kB / 0.7275 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.4968, allocations: 17.41 kB / 0.7275 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.4968, allocations: 9.734 kB / 0.7275 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.977e-05/0.4968, allocations: 2.266 kB / 0.7275 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.4968, allocations: 5.781 kB / 0.7275 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.4968, allocations: 4.203 kB / 0.7275 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.865e-05/0.4969, allocations: 149.4 kB / 0.7277 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4969, allocations: 0 / 0.7277 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001851/0.4971, allocations: 47.97 kB / 0.7277 GB, free: 17.59 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.0001258/0.4972, allocations: 107.9 kB / 0.7278 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002678/0.4975, allocations: 294.3 kB / 0.7281 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4975, allocations: 0 / 0.7281 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.598e-05/0.4975, allocations: 34.31 kB / 0.7281 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.4978, allocations: 47.84 kB / 0.7282 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.4982, allocations: 336 kB / 0.7285 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.168e-05/0.4983, allocations: 115.8 kB / 0.7286 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.4983, allocations: 18.17 kB / 0.7286 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of SimCode: time 6.21e-07/0.4983, allocations: 0 / 0.7286 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.004215/0.5025, allocations: 2.559 MB / 0.7311 GB, free: 16.65 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.955714958021417] Failed to read output from testmodel.py, exit status != 0: 0.5100479719694704 0.523021866 0.028761952 Calling exit ...