Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.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.0008264/0.0008264, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0009328/0.0009328, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8467/0.8467, allocations: 177.2 MB / 203.5 MB, free: 5.73 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.6908/0.6908, allocations: 154.5 MB / 414.5 MB, free: 0.8281 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.886e-06/2.886e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.05e-05/3.338e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002058/0.002091, allocations: 0.6734 MB / 0.6199 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.003828, allocations: 1.295 MB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.003886, allocations: 0 / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.003915, allocations: 3.938 kB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.155e-05/0.004007, allocations: 19.84 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008145/0.004821, allocations: 311.4 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.005149, allocations: 263.5 kB / 0.6218 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.00526, allocations: 4.188 kB / 0.6218 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.005464, allocations: 139.8 kB / 0.6219 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.005635, allocations: 79.78 kB / 0.622 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.005685, allocations: 24 kB / 0.622 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.974e-05/0.005775, allocations: 35.98 kB / 0.6221 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.005798, allocations: 12 kB / 0.6221 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.005902, allocations: 75.86 kB / 0.6221 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.00624, allocations: 271.3 kB / 0.6224 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.006244, allocations: 0 / 0.6224 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.423e-06/0.006245, allocations: 3.938 kB / 0.6224 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.006251, allocations: 0 / 0.6224 GB, free: 10.02 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.00057/0.006821, allocations: 411.2 kB / 0.6228 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.006866, allocations: 9.469 kB / 0.6228 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.902e-05/0.006945, allocations: 16.89 kB / 0.6228 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.007048, allocations: 125.7 kB / 0.6229 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.007083, allocations: 20.31 kB / 0.623 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.007122, allocations: 12.38 kB / 0.623 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.007257, allocations: 58.23 kB / 0.623 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.007266, allocations: 192 / 0.623 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.007279, allocations: 4.359 kB / 0.623 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.007287, allocations: 4.125 kB / 0.623 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.298e-05/0.00735, allocations: 23.98 kB / 0.6231 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/0.007885, allocations: 316.3 kB / 0.6234 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.597e-05/0.007961, allocations: 38.44 kB / 0.6234 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.007996, allocations: 16.86 kB / 0.6234 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.008008, allocations: 0 / 0.6234 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.008236, allocations: 111.4 kB / 0.6235 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 2.304e-06/0.008238, allocations: 0 / 0.6235 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0003211/0.008559, allocations: 141.5 kB / 0.6236 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.008601, allocations: 55.41 kB / 0.6237 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.008706, allocations: 133.8 kB / 0.6238 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.008747, allocations: 33.7 kB / 0.6239 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.008818, allocations: 100.1 kB / 0.624 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.00884, allocations: 19.86 kB / 0.624 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.008958, allocations: 65.67 kB / 0.624 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.312e-05/0.009051, allocations: 322.8 kB / 0.6243 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.009304, allocations: 189 kB / 0.6245 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.00956, allocations: 223.4 kB / 0.6247 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.009841, allocations: 235 kB / 0.625 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.009844, allocations: 0 / 0.625 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006413/0.01049, allocations: 482.9 kB / 0.6254 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.117e-05/0.01056, allocations: 105 kB / 0.6255 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.01056, allocations: 0 / 0.6255 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.01058, allocations: 4 kB / 0.6255 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.611e-05/0.01061, allocations: 7.922 kB / 0.6255 GB, free: 6.461 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.01062, allocations: 4 kB / 0.6255 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.01101, allocations: 83.98 kB / 0.6256 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.01105, allocations: 19.98 kB / 0.6256 GB, free: 6.355 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001084/0.01116, allocations: 124.5 kB / 0.6258 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.01118, allocations: 11.89 kB / 0.6258 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.01121, allocations: 16.42 kB / 0.6258 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.01121, allocations: 0 / 0.6258 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.01122, allocations: 0 / 0.6258 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.01122, allocations: 4 kB / 0.6258 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.01134, allocations: 137.3 kB / 0.6259 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01134, allocations: 3.938 kB / 0.6259 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.04e-05/0.01136, allocations: 0 / 0.6259 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.01136, allocations: 7.938 kB / 0.6259 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.01137, allocations: 0 / 0.6259 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.01137, allocations: 3.938 kB / 0.6259 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01137, allocations: 0 / 0.6259 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.01157, allocations: 148.9 kB / 0.6261 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.01159, allocations: 11.89 kB / 0.6261 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.01161, allocations: 3.938 kB / 0.6261 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.493e-05/0.01163, allocations: 0 / 0.6261 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.01167, allocations: 15.98 kB / 0.6261 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.01168, allocations: 7.984 kB / 0.6261 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.013e-05/0.01174, allocations: 102.2 kB / 0.6262 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.01174, allocations: 0 / 0.6262 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002912/0.01203, allocations: 40 kB / 0.6262 GB, free: 5.672 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001635/0.0122, allocations: 103.2 kB / 0.6263 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004943/0.01269, allocations: 411.4 kB / 0.6267 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01269, allocations: 4.156 kB / 0.6267 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.341e-05/0.01276, allocations: 43.86 kB / 0.6268 GB, free: 5.059 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.01302, allocations: 27.25 kB / 0.6268 GB, free: 5.035 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.01342, allocations: 215.3 kB / 0.627 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.943e-05/0.01349, allocations: 75.89 kB / 0.6271 GB, free: 4.691 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.01352, allocations: 24.5 kB / 0.6271 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of SimCode: time 1.012e-06/0.01352, allocations: 0 / 0.6271 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of Templates: time 0.003729/0.01725, allocations: 1.889 MB / 0.629 GB, free: 2.801 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.960198283195496] Failed to read output from testmodel.py, exit status != 0: 0.024527575820684433 0.037735943 0.028570121 Calling exit ...