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.0007418/0.0007418, allocations: 115 kB / 19.7 MB, free: 0.5234 MB / 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.0007808/0.0007808, allocations: 211.8 kB / 23 MB, free: 3.117 MB / 13.93 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.8803/0.8803, allocations: 230.6 MB / 256.8 MB, free: 3.426 MB / 202.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.7308/0.7308, allocations: 203.8 MB / 0.5049 GB, free: 0.6602 MB / 410.7 MB " [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: 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.0009457/0.0009457, allocations: 71.91 kB / 0.7195 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4612/0.4621, allocations: 102 MB / 0.8191 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001532/0.4636, allocations: 0.7769 MB / 0.8199 GB, free: 24.71 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.4647, allocations: 1.193 MB / 0.8211 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.4647, allocations: 4.688 kB / 0.8211 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.441e-05/0.4648, allocations: 4.875 kB / 0.8211 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.449e-05/0.4648, allocations: 16.17 kB / 0.8211 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.4652, allocations: 134.6 kB / 0.8212 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.4654, allocations: 131.3 kB / 0.8213 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.654e-05/0.4655, allocations: 16.45 kB / 0.8214 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.792e-05/0.4655, allocations: 54.58 kB / 0.8214 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.114e-05/0.4656, allocations: 52.39 kB / 0.8215 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.4657, allocations: 11.03 kB / 0.8215 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.325e-05/0.4657, allocations: 25.3 kB / 0.8215 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.4657, allocations: 15.11 kB / 0.8215 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.246e-05/0.4658, allocations: 59.11 kB / 0.8216 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.466, allocations: 113.7 kB / 0.8217 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.466, allocations: 1.125 kB / 0.8217 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.834e-06/0.466, allocations: 1.562 kB / 0.8217 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.466, allocations: 4.781 kB / 0.8217 GB, free: 23.55 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004641/0.4665, allocations: 348.2 kB / 0.822 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.4665, allocations: 12.02 kB / 0.822 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.4665, allocations: 10.98 kB / 0.822 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.772e-05/0.4666, allocations: 116.6 kB / 0.8221 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.4666, allocations: 7.656 kB / 0.8221 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.4666, allocations: 8.344 kB / 0.8222 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.4668, allocations: 80.56 kB / 0.8222 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4668, allocations: 192 / 0.8222 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.4668, allocations: 5.875 kB / 0.8222 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.4668, allocations: 1.25 kB / 0.8222 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.467, allocations: 71.75 kB / 0.8223 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.4673, allocations: 300.4 kB / 0.8226 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.4674, allocations: 56.55 kB / 0.8226 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.757e-05/0.4675, allocations: 42.83 kB / 0.8227 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.4675, allocations: 1.125 kB / 0.8227 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.4677, allocations: 98.5 kB / 0.8228 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.4677, allocations: 1.094 kB / 0.8228 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0003574/0.4681, allocations: 158.5 kB / 0.8229 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.4681, allocations: 57.12 kB / 0.823 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.603e-05/0.4681, allocations: 128.2 kB / 0.8231 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.4682, allocations: 28.86 kB / 0.8231 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.4682, allocations: 89.11 kB / 0.8232 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.4682, allocations: 20.8 kB / 0.8232 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.4683, allocations: 35.05 kB / 0.8233 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.328e-05/0.4683, allocations: 327.9 kB / 0.8236 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.4684, allocations: 57.31 kB / 0.8236 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.4686, allocations: 81.44 kB / 0.8237 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.4688, allocations: 156 kB / 0.8239 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4688, allocations: 0 / 0.8239 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003294/0.4691, allocations: 220.3 kB / 0.8241 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.4691, allocations: 35.89 kB / 0.8241 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4691, allocations: 0.5 kB / 0.8241 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.4692, allocations: 1.25 kB / 0.8241 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.799e-05/0.4692, allocations: 17.67 kB / 0.8241 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.4692, allocations: 4.969 kB / 0.8241 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.4694, allocations: 47.47 kB / 0.8242 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.4694, allocations: 6.844 kB / 0.8242 GB, free: 21.65 MB / 0.6355 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 6.315e-05/0.4695, allocations: 120.9 kB / 0.8243 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.4695, allocations: 8.141 kB / 0.8243 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.3e-05/0.4695, allocations: 9.984 kB / 0.8243 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.4695, allocations: 1.859 kB / 0.8243 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4695, allocations: 0.5312 kB / 0.8243 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4695, allocations: 0.5 kB / 0.8243 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.758e-05/0.4696, allocations: 159.4 kB / 0.8245 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.4696, allocations: 4.562 kB / 0.8245 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.433e-05/0.4697, allocations: 15.45 kB / 0.8245 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4697, allocations: 1.25 kB / 0.8245 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.4697, allocations: 2.078 kB / 0.8245 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4697, allocations: 0.5 kB / 0.8245 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4697, allocations: 0.5312 kB / 0.8245 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.4699, allocations: 148.3 kB / 0.8246 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.4699, allocations: 7.266 kB / 0.8247 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.4699, allocations: 5.688 kB / 0.8247 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.897e-05/0.47, allocations: 12.23 kB / 0.8247 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.47, allocations: 9.641 kB / 0.8247 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.47, allocations: 6.141 kB / 0.8247 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.822e-05/0.47, allocations: 97.55 kB / 0.8248 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.47, allocations: 4 kB / 0.8248 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001527/0.4702, allocations: 24.86 kB / 0.8248 GB, free: 21.15 MB / 0.6355 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 0.0001054/0.4703, allocations: 95.53 kB / 0.8249 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003011/0.4706, allocations: 182.5 kB / 0.8251 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4706, allocations: 4.125 kB / 0.8251 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.526e-05/0.4707, allocations: 42.53 kB / 0.8251 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.4709, allocations: 29.23 kB / 0.8251 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.4711, allocations: 197.3 kB / 0.8253 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.878e-05/0.4712, allocations: 0.6917 MB / 0.826 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.4712, allocations: 11.53 kB / 0.826 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of SimCode: time 4.91e-07/0.4712, allocations: 0 / 0.826 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of Templates: time 0.002465/0.4737, allocations: 1.312 MB / 0.8273 GB, free: 19.95 MB / 0.6355 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: 5.632460227003321] Failed to read output from testmodel.py, exit status != 0: 0.47854900383390486 0.488920597 0.021262142 Calling exit ...