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.0007668/0.0007668, allocations: 76.45 kB / 19.91 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.0007609/0.0007609, allocations: 165.9 kB / 23.18 MB, free: 1.387 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.8745/0.8745, 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.72/0.72, allocations: 154.9 MB / 415 MB, free: 0.4922 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.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: 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.001029/0.001029, allocations: 63.91 kB / 0.6199 GB, free: 12.73 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.4288/0.4298, allocations: 102 MB / 0.7195 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001509/0.4313, allocations: 0.9528 MB / 0.7204 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.4326, allocations: 1.356 MB / 0.7217 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/0.4327, allocations: 2.344 kB / 0.7217 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.4328, allocations: 23.59 kB / 0.7217 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.662e-05/0.4329, allocations: 40.22 kB / 0.7218 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005993/0.4335, allocations: 277.9 kB / 0.7221 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.4338, allocations: 386.6 kB / 0.7224 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.4339, allocations: 55.16 kB / 0.7225 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.4342, allocations: 221 kB / 0.7227 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.4343, allocations: 116.4 kB / 0.7228 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/0.4343, allocations: 33.75 kB / 0.7228 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.569e-05/0.4344, allocations: 50.3 kB / 0.7229 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.954e-05/0.4345, allocations: 62.77 kB / 0.7229 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.481e-05/0.4346, allocations: 116.3 kB / 0.723 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.435, allocations: 459.6 kB / 0.7235 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.435, allocations: 0 / 0.7235 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.854e-06/0.435, allocations: 3.938 kB / 0.7235 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.435, allocations: 5.375 kB / 0.7235 GB, free: 21.02 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006629/0.4356, allocations: 0.5483 MB / 0.724 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.4357, allocations: 9.906 kB / 0.724 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002567/0.4359, allocations: 72.03 kB / 0.7241 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005508/0.4365, allocations: 321.6 kB / 0.7244 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.4365, allocations: 14.95 kB / 0.7244 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.4366, allocations: 20.92 kB / 0.7244 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.4369, allocations: 213 kB / 0.7246 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.4369, allocations: 3.938 kB / 0.7247 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.4369, allocations: 6.25 kB / 0.7247 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.4369, allocations: 7.859 kB / 0.7247 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.4372, allocations: 143.2 kB / 0.7248 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006242/0.4378, allocations: 0.7831 MB / 0.7256 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.438, allocations: 152.1 kB / 0.7257 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.4381, allocations: 80.48 kB / 0.7258 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.4381, allocations: 1.812 kB / 0.7258 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002845/0.4384, allocations: 168 kB / 0.726 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.4384, allocations: 0 / 0.726 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.000521/0.4389, allocations: 262.3 kB / 0.7262 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.439, allocations: 163.3 kB / 0.7264 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.4391, allocations: 223.7 kB / 0.7266 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.4391, allocations: 34.98 kB / 0.7266 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.4392, allocations: 156.7 kB / 0.7268 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.4392, allocations: 37.91 kB / 0.7268 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.468e-05/0.4393, allocations: 55.77 kB / 0.7268 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.771e-05/0.4393, allocations: 331.4 kB / 0.7272 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.4396, allocations: 159.6 kB / 0.7273 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.4398, allocations: 289 kB / 0.7276 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.4401, allocations: 279.8 kB / 0.7279 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.4401, allocations: 5 kB / 0.7279 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004926/0.4406, allocations: 433.5 kB / 0.7283 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/0.4406, allocations: 68.3 kB / 0.7283 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4406, allocations: 2.375 kB / 0.7283 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.4406, allocations: 3.484 kB / 0.7283 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.825e-05/0.4407, allocations: 29.77 kB / 0.7284 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.4407, allocations: 1.953 kB / 0.7284 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.441, allocations: 72.55 kB / 0.7284 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.441, allocations: 16.91 kB / 0.7285 GB, free: 17.42 MB / 0.6355 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 9.03e-05/0.4411, allocations: 154.1 kB / 0.7286 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.4411, allocations: 21.78 kB / 0.7286 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.4411, allocations: 26.8 kB / 0.7287 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4411, allocations: 2.531 kB / 0.7287 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4411, allocations: 5.438 kB / 0.7287 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4411, allocations: 3.125 kB / 0.7287 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.4413, allocations: 189 kB / 0.7288 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4413, allocations: 1.438 kB / 0.7288 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.027e-05/0.4414, allocations: 27.89 kB / 0.7289 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.4414, allocations: 2.938 kB / 0.7289 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.4414, allocations: 7.281 kB / 0.7289 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.4414, allocations: 2.031 kB / 0.7289 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4414, allocations: 1.344 kB / 0.7289 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.4417, allocations: 249.8 kB / 0.7291 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.4417, allocations: 18.58 kB / 0.7291 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.4417, allocations: 3.641 kB / 0.7291 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/0.4418, allocations: 16.86 kB / 0.7292 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.4418, allocations: 15.77 kB / 0.7292 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.4418, allocations: 5.234 kB / 0.7292 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.823e-05/0.4419, allocations: 163.6 kB / 0.7293 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4419, allocations: 4 kB / 0.7293 GB, free: 16.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000217/0.4421, allocations: 54.17 kB / 0.7294 GB, free: 16.8 MB / 0.6355 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 0.0001043/0.4422, allocations: 98.7 kB / 0.7295 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000452/0.4427, allocations: 380.5 kB / 0.7298 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4427, allocations: 0 / 0.7298 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.4429, allocations: 79.59 kB / 0.7299 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.4431, allocations: 64.88 kB / 0.73 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004885/0.4436, allocations: 416.9 kB / 0.7304 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.227e-05/0.4437, allocations: 135.2 kB / 0.7305 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.4437, allocations: 24.22 kB / 0.7305 GB, free: 16.03 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.4437, allocations: 0 / 0.7305 GB, free: 16.03 MB / 0.6355 GB Notification: Performance of Templates: time 0.004111/0.4478, allocations: 3.149 MB / 0.7336 GB, free: 15.74 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.864005918847397] Failed to read output from testmodel.py, exit status != 0: 0.45340500003658235 0.46108754199999996 0.024463811000000002 Calling exit ...