Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.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.0008012/0.0008012, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008907/0.0008907, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8552/0.8552, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.6681/0.6681, allocations: 154.5 MB / 414.5 MB, free: 0.8477 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.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.659e-05, allocations: 4.938 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001246/0.001273, allocations: 0.726 MB / 0.62 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.002403, allocations: 1.174 MB / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.002451, allocations: 0 / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.00248, allocations: 3.938 kB / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.722e-05/0.002547, allocations: 23.86 kB / 0.6212 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.002971, allocations: 132.1 kB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.003125, allocations: 123.7 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.237e-05/0.003218, allocations: 4 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.003321, allocations: 71.88 kB / 0.6215 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.677e-05/0.003397, allocations: 35.92 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.003417, allocations: 8 kB / 0.6215 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.565e-05/0.003473, allocations: 24 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.003494, allocations: 11.92 kB / 0.6216 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.667e-05/0.003541, allocations: 35.97 kB / 0.6216 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.003706, allocations: 139.5 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.003709, allocations: 0 / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.253e-06/0.00371, allocations: 0 / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.003714, allocations: 0 / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007049/0.004419, allocations: 331.8 kB / 0.622 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.004455, allocations: 9.469 kB / 0.6221 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.004498, allocations: 12.92 kB / 0.6221 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.007e-05/0.004578, allocations: 121.6 kB / 0.6222 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.004591, allocations: 384 / 0.6222 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.004607, allocations: 12.38 kB / 0.6222 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.004742, allocations: 66.22 kB / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.00475, allocations: 4.125 kB / 0.6223 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.004759, allocations: 384 / 0.6223 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.004763, allocations: 384 / 0.6223 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.7e-05/0.00486, allocations: 55.81 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.005212, allocations: 248.5 kB / 0.6225 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.00533, allocations: 66.55 kB / 0.6226 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.005382, allocations: 32.95 kB / 0.6226 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.005392, allocations: 0 / 0.6226 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.005556, allocations: 91.36 kB / 0.6227 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.005557, allocations: 0 / 0.6227 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002801/0.005837, allocations: 149.5 kB / 0.6229 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.005869, allocations: 51.41 kB / 0.6229 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.402e-05/0.005933, allocations: 120.4 kB / 0.623 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.005958, allocations: 37.69 kB / 0.6231 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.006001, allocations: 92.09 kB / 0.6232 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.006016, allocations: 11.84 kB / 0.6232 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.006065, allocations: 41.69 kB / 0.6232 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.858e-05/0.006143, allocations: 318.8 kB / 0.6235 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.006252, allocations: 81.66 kB / 0.6236 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.006362, allocations: 122 kB / 0.6237 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.006516, allocations: 146.2 kB / 0.6238 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006518, allocations: 0 / 0.6238 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002684/0.006786, allocations: 248.8 kB / 0.6241 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.006817, allocations: 41.64 kB / 0.6241 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.006823, allocations: 0 / 0.6241 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.006836, allocations: 4 kB / 0.6241 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.991e-05/0.006896, allocations: 11.98 kB / 0.6241 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.006903, allocations: 0 / 0.6241 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.007012, allocations: 35.89 kB / 0.6242 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.007029, allocations: 20.19 kB / 0.6242 GB, free: 7.938 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 7.217e-05/0.007101, allocations: 122.8 kB / 0.6243 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.007111, allocations: 7.891 kB / 0.6243 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.007136, allocations: 12.44 kB / 0.6243 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.007138, allocations: 0 / 0.6243 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.007142, allocations: 0 / 0.6243 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.007145, allocations: 0 / 0.6243 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.007421, allocations: 322 kB / 0.6246 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.007422, allocations: 4 kB / 0.6246 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.827e-05/0.00745, allocations: 11.98 kB / 0.6247 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.007453, allocations: 0 / 0.6247 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.007461, allocations: 4 kB / 0.6247 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.007463, allocations: 0 / 0.6247 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.007463, allocations: 3.938 kB / 0.6247 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.007622, allocations: 211.4 kB / 0.6249 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-06/0.00763, allocations: 7.953 kB / 0.6249 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.007642, allocations: 4 kB / 0.6249 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.306e-05/0.007685, allocations: 11.98 kB / 0.6249 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.007719, allocations: 7.984 kB / 0.6249 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.007724, allocations: 0 / 0.6249 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.54e-05/0.007759, allocations: 95.27 kB / 0.625 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007759, allocations: 0 / 0.625 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001785/0.007938, allocations: 24 kB / 0.625 GB, free: 7.039 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * 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.0001245/0.008062, allocations: 99.23 kB / 0.6251 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.00831, allocations: 197 kB / 0.6253 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.008312, allocations: 3.938 kB / 0.6253 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.526e-05/0.008378, allocations: 43.91 kB / 0.6253 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.008571, allocations: 11.94 kB / 0.6253 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.008935, allocations: 179.3 kB / 0.6255 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.499e-05/0.00898, allocations: 71.59 kB / 0.6256 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.009004, allocations: 16.5 kB / 0.6256 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of SimCode: time 7.11e-07/0.009004, allocations: 0 / 0.6256 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of Templates: time 0.002134/0.01114, allocations: 1.288 MB / 0.6269 GB, free: 5.078 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9113932540640235] Failed to read output from testmodel.py, exit status != 0: 0.01579219661653042 0.023742966 0.018481104 Calling exit ...