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.0006689/0.0006689, allocations: 100.4 kB / 19.71 MB, free: 448 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.0007091/0.0007091, allocations: 212.1 kB / 23 MB, free: 2.973 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.8057/0.8057, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.7286/0.7286, allocations: 203.8 MB / 0.5049 GB, free: 10.44 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.001081/0.001081, allocations: 66.02 kB / 0.7194 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4166, allocations: 102 MB / 0.8191 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001763/0.4184, allocations: 0.7662 MB / 0.8198 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.4196, allocations: 1.168 MB / 0.8209 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.4197, allocations: 4 kB / 0.8209 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.083e-05/0.4197, allocations: 7.328 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.544e-05/0.4198, allocations: 17.45 kB / 0.821 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.4202, allocations: 132.6 kB / 0.8211 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.4204, allocations: 127.7 kB / 0.8212 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.734e-05/0.4205, allocations: 16.27 kB / 0.8212 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.611e-05/0.4206, allocations: 50.83 kB / 0.8213 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.492e-05/0.4207, allocations: 48.34 kB / 0.8213 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.4207, allocations: 10.09 kB / 0.8213 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.715e-05/0.4207, allocations: 28.48 kB / 0.8214 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.4208, allocations: 10.67 kB / 0.8214 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.823e-05/0.4208, allocations: 47.89 kB / 0.8214 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.421, allocations: 116.1 kB / 0.8215 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.421, allocations: 4.547 kB / 0.8215 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.392e-06/0.421, allocations: 3.938 kB / 0.8215 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.421, allocations: 0 / 0.8215 GB, free: 15.72 MB / 0.6198 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.0004931/0.4215, allocations: 358.7 kB / 0.8219 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.4215, allocations: 6.75 kB / 0.8219 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.4216, allocations: 10.3 kB / 0.8219 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.199e-05/0.4217, allocations: 120.8 kB / 0.822 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.4217, allocations: 8.094 kB / 0.822 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.4217, allocations: 6.625 kB / 0.822 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.4218, allocations: 77.92 kB / 0.8221 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.4219, allocations: 192 / 0.8221 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.4219, allocations: 4.969 kB / 0.8221 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4219, allocations: 7.984 kB / 0.8221 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.422, allocations: 73.48 kB / 0.8222 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003196/0.4223, allocations: 246.2 kB / 0.8224 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.4224, allocations: 59.11 kB / 0.8225 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.388e-05/0.4225, allocations: 41.14 kB / 0.8225 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.4225, allocations: 1 kB / 0.8225 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.4227, allocations: 96.66 kB / 0.8226 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.4227, allocations: 0.9375 kB / 0.8226 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0003605/0.4231, allocations: 170.6 kB / 0.8228 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.4231, allocations: 54.06 kB / 0.8228 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.02e-05/0.4232, allocations: 123.5 kB / 0.8229 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.4232, allocations: 28.2 kB / 0.823 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.4233, allocations: 106 kB / 0.8231 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.4233, allocations: 17.39 kB / 0.8231 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.4233, allocations: 35.33 kB / 0.8231 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.4234, allocations: 320.6 kB / 0.8234 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.4235, allocations: 92.52 kB / 0.8235 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.4236, allocations: 113.1 kB / 0.8236 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.4238, allocations: 137.8 kB / 0.8238 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4238, allocations: 3.938 kB / 0.8238 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003157/0.4242, allocations: 252.7 kB / 0.824 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.4242, allocations: 33.92 kB / 0.824 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.4242, allocations: 0 / 0.824 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.4242, allocations: 2.188 kB / 0.824 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.762e-05/0.4243, allocations: 17.14 kB / 0.824 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.4243, allocations: 1.094 kB / 0.8241 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.4244, allocations: 43.81 kB / 0.8241 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.4244, allocations: 7.297 kB / 0.8241 GB, free: 13.75 MB / 0.6198 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.711e-05/0.4245, allocations: 124.3 kB / 0.8242 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-06/0.4245, allocations: 6.766 kB / 0.8242 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.4245, allocations: 12.52 kB / 0.8242 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4245, allocations: 0 / 0.8242 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4245, allocations: 1.844 kB / 0.8242 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4245, allocations: 8 kB / 0.8242 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.983e-05/0.4246, allocations: 126.9 kB / 0.8244 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4246, allocations: 1.344 kB / 0.8244 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.679e-05/0.4247, allocations: 19.22 kB / 0.8244 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4247, allocations: 1.344 kB / 0.8244 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.4247, allocations: 2.031 kB / 0.8244 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4247, allocations: 3.984 kB / 0.8244 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4247, allocations: 0.5156 kB / 0.8244 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.4249, allocations: 159 kB / 0.8245 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-06/0.4249, allocations: 5.734 kB / 0.8246 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.4249, allocations: 2.797 kB / 0.8246 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.573e-05/0.4249, allocations: 15.89 kB / 0.8246 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.425, allocations: 10.16 kB / 0.8246 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.425, allocations: 1.438 kB / 0.8246 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.653e-05/0.425, allocations: 93.08 kB / 0.8247 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.425, allocations: 0 / 0.8247 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001441/0.4252, allocations: 33.55 kB / 0.8247 GB, free: 13.26 MB / 0.6198 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.000108/0.4253, allocations: 100 kB / 0.8248 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003074/0.4256, allocations: 202.1 kB / 0.825 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.4256, allocations: 0 / 0.825 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.493e-05/0.4257, allocations: 49.5 kB / 0.825 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.4258, allocations: 24.56 kB / 0.8251 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002846/0.4261, allocations: 192.3 kB / 0.8252 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.566e-05/0.4262, allocations: 71.91 kB / 0.8253 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.4262, allocations: 11.7 kB / 0.8253 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.4262, allocations: 1.312 kB / 0.8253 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of Templates: time 0.002332/0.4285, allocations: 1.342 MB / 0.8266 GB, free: 12.66 MB / 0.6198 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.283632231876254] Failed to read output from testmodel.py, exit status != 0: 0.4345395639538765 0.44340151200000005 0.020544202 Calling exit ...