Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.001787/0.001787, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.00223/0.00223, allocations: 217.7 kB / 22.26 MB, free: 5.078 MB / 14.72 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 1.542/1.542, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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 1.27/1.27, allocations: 203.8 MB / 0.5042 GB, free: 4.949 MB / 414.1 MB " [Timeout remaining time 178] 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.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.002182/0.002182, allocations: 72.11 kB / 0.7187 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5938/0.596, allocations: 102 MB / 0.8183 GB, free: 29.23 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002946/0.5989, allocations: 0.8194 MB / 0.8191 GB, free: 28.71 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002562/0.6015, allocations: 1.329 MB / 0.8204 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.16e-05/0.6016, allocations: 2.188 kB / 0.8204 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 5.978e-05/0.6017, allocations: 10.23 kB / 0.8205 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.6018, allocations: 22.03 kB / 0.8205 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.6028, allocations: 325.9 kB / 0.8208 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0005696/0.6034, allocations: 291.6 kB / 0.8211 GB, free: 27.44 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.6035, allocations: 29.12 kB / 0.8211 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.6037, allocations: 119.1 kB / 0.8212 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.604, allocations: 115.9 kB / 0.8213 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.442e-05/0.6041, allocations: 26.72 kB / 0.8213 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.6042, allocations: 36.06 kB / 0.8214 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.6043, allocations: 27 kB / 0.8214 GB, free: 27.31 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002249/0.6045, allocations: 106.4 kB / 0.8215 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0005671/0.6051, allocations: 266.5 kB / 0.8218 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6051, allocations: 2.25 kB / 0.8218 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6051, allocations: 0 / 0.8218 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.6051, allocations: 3.938 kB / 0.8218 GB, free: 27.16 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008016/0.6059, allocations: 463.3 kB / 0.8222 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.6059, allocations: 11 kB / 0.8222 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.369e-05/0.606, allocations: 19.81 kB / 0.8222 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.6061, allocations: 132.3 kB / 0.8224 GB, free: 26.6 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.6062, allocations: 19.2 kB / 0.8224 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.6062, allocations: 20.39 kB / 0.8224 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.6064, allocations: 92.55 kB / 0.8225 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.6065, allocations: 5.719 kB / 0.8225 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.6065, allocations: 1.297 kB / 0.8225 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.6065, allocations: 2.562 kB / 0.8225 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.6066, allocations: 47.8 kB / 0.8225 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007656/0.6074, allocations: 468.2 kB / 0.823 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.6076, allocations: 68.44 kB / 0.823 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.6076, allocations: 27.69 kB / 0.8231 GB, free: 26.13 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.6077, allocations: 1.719 kB / 0.8231 GB, free: 26.13 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.6079, allocations: 123.8 kB / 0.8232 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.6079, allocations: 0 / 0.8232 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.0003919/0.6083, allocations: 164.9 kB / 0.8234 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.6083, allocations: 54.97 kB / 0.8234 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.6084, allocations: 163.3 kB / 0.8236 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.6085, allocations: 38.77 kB / 0.8236 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.6086, allocations: 120.7 kB / 0.8237 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.6086, allocations: 30.48 kB / 0.8237 GB, free: 25.63 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.6087, allocations: 71.84 kB / 0.8238 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.51e-05/0.6088, allocations: 335.1 kB / 0.8241 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.609, allocations: 95.72 kB / 0.8242 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.6092, allocations: 142.4 kB / 0.8244 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.6095, allocations: 249.2 kB / 0.8246 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6095, allocations: 0 / 0.8246 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006059/0.6101, allocations: 420.9 kB / 0.825 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.157e-05/0.6101, allocations: 102.8 kB / 0.8251 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6101, allocations: 1.25 kB / 0.8251 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.6102, allocations: 2.219 kB / 0.8251 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.216e-05/0.6102, allocations: 11.5 kB / 0.8251 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.6102, allocations: 5.766 kB / 0.8251 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/0.6107, allocations: 89.23 kB / 0.8252 GB, free: 24.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/0.6108, allocations: 18.84 kB / 0.8252 GB, free: 24.61 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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.0001039/0.6109, allocations: 132.8 kB / 0.8253 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.6109, allocations: 15.2 kB / 0.8254 GB, free: 24.47 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.6109, allocations: 12.78 kB / 0.8254 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.6109, allocations: 6.469 kB / 0.8254 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.6109, allocations: 0 / 0.8254 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.6109, allocations: 0.75 kB / 0.8254 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.6111, allocations: 190 kB / 0.8256 GB, free: 24.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.6111, allocations: 0.7969 kB / 0.8256 GB, free: 24.28 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/0.6111, allocations: 20.5 kB / 0.8256 GB, free: 24.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.6111, allocations: 1.125 kB / 0.8256 GB, free: 24.27 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.6112, allocations: 6.078 kB / 0.8256 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.6112, allocations: 2.141 kB / 0.8256 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6112, allocations: 3.938 kB / 0.8256 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.6114, allocations: 164.3 kB / 0.8257 GB, free: 24.16 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.6114, allocations: 19.22 kB / 0.8258 GB, free: 24.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.6114, allocations: 12.12 kB / 0.8258 GB, free: 24.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.063e-05/0.6115, allocations: 0.75 kB / 0.8258 GB, free: 24.13 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.6115, allocations: 13.88 kB / 0.8258 GB, free: 24.13 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.6115, allocations: 4.391 kB / 0.8258 GB, free: 24.13 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.848e-05/0.6116, allocations: 121.3 kB / 0.8259 GB, free: 24.04 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6116, allocations: 0 / 0.8259 GB, free: 24.04 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002871/0.6119, allocations: 53.36 kB / 0.826 GB, free: 24.03 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0001357/0.612, allocations: 99.33 kB / 0.8261 GB, free: 23.95 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004605/0.6125, allocations: 341.6 kB / 0.8264 GB, free: 23.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6125, allocations: 0 / 0.8264 GB, free: 23.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 8.246e-05/0.6126, allocations: 42.72 kB / 0.8264 GB, free: 23.69 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.6128, allocations: 31.11 kB / 0.8265 GB, free: 23.68 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/0.6133, allocations: 246.1 kB / 0.8267 GB, free: 23.49 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.6135, allocations: 0.7072 MB / 0.8274 GB, free: 22.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.737e-05/0.6135, allocations: 16.08 kB / 0.8274 GB, free: 22.79 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.6136, allocations: 15.55 kB / 0.8274 GB, free: 22.79 MB / 0.6387 GB Notification: Performance of SimCode: time 3e-07/0.6136, allocations: 3.938 kB / 0.8274 GB, free: 22.78 MB / 0.6387 GB Notification: Performance of Templates: time 0.00837/0.6219, allocations: 2.851 MB / 0.8302 GB, free: 22.54 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.90146248601377] Failed to read output from testmodel.py, exit status != 0: 0.6303379777818918 0.643610062 0.035288319000000005 Calling exit ...