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.001457/0.001457, allocations: 82.41 kB / 19.16 MB, free: 2.535 MB / 14.72 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.001562/0.001562, allocations: 170.4 kB / 22.44 MB, free: 5.34 MB / 14.72 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.39/1.39, allocations: 177.2 MB / 202.8 MB, free: 9.184 MB / 190.1 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 1.171/1.171, allocations: 155 MB / 414.2 MB, free: 4.914 MB / 382.1 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 178] 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.002087/0.002087, allocations: 68.91 kB / 0.6191 GB, free: 4.168 MB / 0.5294 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.5603/0.5624, allocations: 102 MB / 0.7187 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001967/0.5643, allocations: 0.8513 MB / 0.7195 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.5661, allocations: 1.316 MB / 0.7208 GB, free: 280 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.731e-05/0.5661, allocations: 5.406 kB / 0.7208 GB, free: 276 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.5663, allocations: 16.7 kB / 0.7209 GB, free: 264 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.971e-05/0.5664, allocations: 32.33 kB / 0.7209 GB, free: 240 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007469/0.5671, allocations: 266.2 kB / 0.7211 GB, free: 100 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004056/0.5675, allocations: 335.3 kB / 0.7215 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.5677, allocations: 49.36 kB / 0.7215 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.5679, allocations: 188 kB / 0.7217 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.5681, allocations: 95.27 kB / 0.7218 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.5682, allocations: 29.28 kB / 0.7218 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.5683, allocations: 46.45 kB / 0.7218 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 8.832e-05/0.5684, allocations: 53.16 kB / 0.7219 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.5685, allocations: 98.41 kB / 0.722 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0005381/0.5691, allocations: 401.7 kB / 0.7224 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5691, allocations: 0 / 0.7224 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5691, allocations: 5.156 kB / 0.7224 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.5691, allocations: 0 / 0.7224 GB, free: 15.52 MB / 0.6231 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.0008523/0.5699, allocations: 486.5 kB / 0.7228 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.57, allocations: 12.17 kB / 0.7229 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003893/0.5704, allocations: 66.2 kB / 0.7229 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006579/0.571, allocations: 231.6 kB / 0.7231 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.571, allocations: 21.7 kB / 0.7232 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.5711, allocations: 19.31 kB / 0.7232 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.5714, allocations: 157.7 kB / 0.7233 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.5714, allocations: 3.938 kB / 0.7233 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.5714, allocations: 7.812 kB / 0.7233 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.5714, allocations: 2.812 kB / 0.7233 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.5716, allocations: 66.3 kB / 0.7234 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008482/0.5724, allocations: 0.636 MB / 0.724 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.5725, allocations: 57.45 kB / 0.7241 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.288e-05/0.5726, allocations: 26.56 kB / 0.7241 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-06/0.5726, allocations: 1.094 kB / 0.7241 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003001/0.5729, allocations: 113.9 kB / 0.7242 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.5729, allocations: 0 / 0.7242 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.0004007/0.5733, allocations: 127 kB / 0.7243 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.5734, allocations: 84.12 kB / 0.7244 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.5737, allocations: 212.1 kB / 0.7246 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/0.5737, allocations: 30.17 kB / 0.7247 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.5739, allocations: 147.7 kB / 0.7248 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.5739, allocations: 16.44 kB / 0.7248 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.574, allocations: 66.5 kB / 0.7249 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.5742, allocations: 328.5 kB / 0.7252 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.5744, allocations: 127.4 kB / 0.7253 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/0.5748, allocations: 242.4 kB / 0.7255 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.5751, allocations: 202.7 kB / 0.7257 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5751, allocations: 1.031 kB / 0.7257 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006003/0.5757, allocations: 372.6 kB / 0.7261 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.763e-05/0.5758, allocations: 67.78 kB / 0.7262 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.5758, allocations: 2.281 kB / 0.7262 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.5758, allocations: 2.656 kB / 0.7262 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.988e-05/0.5759, allocations: 9.453 kB / 0.7262 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.5759, allocations: 7.078 kB / 0.7262 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.5763, allocations: 64.73 kB / 0.7262 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.5763, allocations: 12.52 kB / 0.7262 GB, free: 12.38 MB / 0.6231 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.0001659/0.5765, allocations: 147.5 kB / 0.7264 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.5765, allocations: 16.05 kB / 0.7264 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.422e-05/0.5765, allocations: 15.14 kB / 0.7264 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.5765, allocations: 1.656 kB / 0.7264 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5765, allocations: 2.156 kB / 0.7264 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5765, allocations: 8.547 kB / 0.7264 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.5767, allocations: 157.9 kB / 0.7266 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5767, allocations: 9.312 kB / 0.7266 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.5768, allocations: 8.109 kB / 0.7266 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.5768, allocations: 2.656 kB / 0.7266 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.5768, allocations: 10.03 kB / 0.7266 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.5768, allocations: 0.9688 kB / 0.7266 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.5768, allocations: 1.094 kB / 0.7266 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.577, allocations: 135.9 kB / 0.7267 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.577, allocations: 24.92 kB / 0.7268 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.577, allocations: 3.188 kB / 0.7268 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.018e-05/0.5771, allocations: 4.609 kB / 0.7268 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.5771, allocations: 7.219 kB / 0.7268 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.5771, allocations: 7.547 kB / 0.7268 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001291/0.5772, allocations: 150.4 kB / 0.7269 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.5772, allocations: 0 / 0.7269 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002758/0.5775, allocations: 47.84 kB / 0.727 GB, free: 11.83 MB / 0.6231 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.0001561/0.5777, allocations: 99.38 kB / 0.7271 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000497/0.5782, allocations: 298 kB / 0.7274 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.5782, allocations: 5.656 kB / 0.7274 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.247e-05/0.5782, allocations: 26.12 kB / 0.7274 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.5786, allocations: 42.52 kB / 0.7274 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006027/0.5792, allocations: 298.8 kB / 0.7277 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.5793, allocations: 117.5 kB / 0.7278 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.797e-05/0.5794, allocations: 20.92 kB / 0.7278 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.5794, allocations: 16.31 kB / 0.7279 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of SimCode: time 4.71e-07/0.5794, allocations: 0 / 0.7279 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of Templates: time 0.006633/0.586, allocations: 2.681 MB / 0.7305 GB, free: 10.84 MB / 0.6231 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: 6.190744049847126] Failed to read output from testmodel.py, exit status != 0: 0.5947863832116127 0.6095777800000001 0.037442489 Calling exit ...