Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.0007089/0.0007089, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0006992/0.0006992, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.8241/0.8241, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.6733/0.6733, 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 4 kB / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.638e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001116/0.001132, allocations: 0.7556 MB / 0.6201 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009511/0.002083, allocations: 1.182 MB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.002119, allocations: 0 / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.6e-05/0.002145, allocations: 3.938 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.698e-05/0.002202, allocations: 15.84 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.002537, allocations: 145.2 kB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.002667, allocations: 131.7 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.321e-05/0.00274, allocations: 7.984 kB / 0.6215 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.809e-05/0.002828, allocations: 67.89 kB / 0.6216 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.636e-05/0.002894, allocations: 43.92 kB / 0.6216 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.002912, allocations: 8 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.656e-05/0.002958, allocations: 27.98 kB / 0.6217 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.002975, allocations: 7.938 kB / 0.6217 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.034e-05/0.003015, allocations: 39.89 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.003389, allocations: 143.7 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003391, allocations: 3.938 kB / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003392, allocations: 0 / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.925e-06/0.003395, allocations: 0 / 0.6218 GB, free: 10.58 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.0004122/0.003807, allocations: 347.8 kB / 0.6222 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.003836, allocations: 13.41 kB / 0.6222 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.003873, allocations: 12.89 kB / 0.6222 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.49e-05/0.003938, allocations: 121.2 kB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.00395, allocations: 4.375 kB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.003966, allocations: 12.38 kB / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.004109, allocations: 74.2 kB / 0.6224 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.004116, allocations: 8.125 kB / 0.6224 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.004124, allocations: 384 / 0.6224 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.00413, allocations: 4.359 kB / 0.6224 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.004267, allocations: 71.86 kB / 0.6225 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.00455, allocations: 260.4 kB / 0.6227 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.494e-05/0.004645, allocations: 54.53 kB / 0.6228 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.232e-05/0.004717, allocations: 40.92 kB / 0.6228 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.004732, allocations: 0 / 0.6228 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.004875, allocations: 107.2 kB / 0.6229 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 8.02e-07/0.004876, allocations: 4 kB / 0.6229 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0003146/0.005191, allocations: 153.6 kB / 0.6231 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.005216, allocations: 55.41 kB / 0.6231 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.252e-05/0.005279, allocations: 130 kB / 0.6233 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.005294, allocations: 25.7 kB / 0.6233 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.005333, allocations: 100.1 kB / 0.6234 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.005349, allocations: 15.91 kB / 0.6234 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.005395, allocations: 29.7 kB / 0.6234 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.598e-05/0.005461, allocations: 322.8 kB / 0.6237 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.00558, allocations: 85.66 kB / 0.6238 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.005701, allocations: 112.2 kB / 0.6239 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.005878, allocations: 148.2 kB / 0.6241 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.005879, allocations: 0 / 0.6241 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002828/0.006162, allocations: 252.9 kB / 0.6243 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.006188, allocations: 43.62 kB / 0.6243 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.006191, allocations: 320 / 0.6243 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/0.006199, allocations: 3.938 kB / 0.6243 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.803e-05/0.006267, allocations: 23.92 kB / 0.6244 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.006271, allocations: 0 / 0.6244 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.006377, allocations: 43.91 kB / 0.6244 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.006391, allocations: 7.984 kB / 0.6244 GB, free: 7.715 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 5.796e-05/0.006449, allocations: 122.9 kB / 0.6245 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-06/0.006455, allocations: 3.938 kB / 0.6245 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.006474, allocations: 12.44 kB / 0.6245 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.006475, allocations: 0 / 0.6245 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.006478, allocations: 0 / 0.6245 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.006481, allocations: 0 / 0.6245 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.844e-05/0.006549, allocations: 129.2 kB / 0.6247 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.22e-07/0.00655, allocations: 0 / 0.6247 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.006589, allocations: 16.08 kB / 0.6247 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.22e-07/0.00659, allocations: 3.938 kB / 0.6247 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.006597, allocations: 11.92 kB / 0.6247 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.0066, allocations: 11.92 kB / 0.6247 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006601, allocations: 0 / 0.6247 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.006779, allocations: 141 kB / 0.6248 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-06/0.006787, allocations: 11.95 kB / 0.6249 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.006798, allocations: 7.938 kB / 0.6249 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.284e-05/0.006831, allocations: 11.98 kB / 0.6249 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.00686, allocations: 7.984 kB / 0.6249 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.006865, allocations: 4 kB / 0.6249 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.299e-05/0.006898, allocations: 95.27 kB / 0.625 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006898, allocations: 0 / 0.625 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001302/0.007028, allocations: 20 kB / 0.625 GB, free: 7.055 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.627e-05/0.007114, allocations: 99.23 kB / 0.6251 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002613/0.007376, allocations: 208.9 kB / 0.6253 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.007377, allocations: 4 kB / 0.6253 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.206e-05/0.00746, allocations: 48.08 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.000128/0.007588, allocations: 16.12 kB / 0.6254 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002329/0.00782, allocations: 182.5 kB / 0.6255 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.474e-05/0.007855, allocations: 75.47 kB / 0.6256 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.007879, allocations: 16.44 kB / 0.6256 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/0.007879, allocations: 4 kB / 0.6256 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of Templates: time 0.001716/0.009594, allocations: 1.336 MB / 0.6269 GB, free: 5.02 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.839644798077643] Failed to read output from testmodel.py, exit status != 0: 0.014242063276469707 0.021610948 0.016683494 Calling exit ...