Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.0006236/0.0006236, allocations: 115 kB / 19.7 MB, free: 0.5273 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.0007513/0.0007513, allocations: 207.8 kB / 23.01 MB, free: 3.121 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.9205/0.9205, allocations: 230.6 MB / 256.8 MB, free: 3.434 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.7619/0.7619, allocations: 203.8 MB / 0.5049 GB, free: 0.7148 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.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [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.0008895/0.0008895, allocations: 63.89 kB / 0.7195 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.446, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002478/0.4484, allocations: 1.14 MB / 0.8202 GB, free: 24.49 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0017/0.4501, allocations: 1.543 MB / 0.8217 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.598e-05/0.4502, allocations: 9.688 kB / 0.8217 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.4503, allocations: 33.5 kB / 0.8218 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.981e-05/0.4504, allocations: 60.72 kB / 0.8218 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008251/0.4512, allocations: 490.1 kB / 0.8223 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004828/0.4517, allocations: 0.5939 MB / 0.8229 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.4519, allocations: 107.5 kB / 0.823 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.4521, allocations: 240.1 kB / 0.8232 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.4524, allocations: 217.3 kB / 0.8234 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.4525, allocations: 60.38 kB / 0.8235 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.4526, allocations: 73.47 kB / 0.8235 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.273e-05/0.4527, allocations: 76.48 kB / 0.8236 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.4529, allocations: 226.5 kB / 0.8238 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005685/0.4535, allocations: 0.6237 MB / 0.8244 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4535, allocations: 0 / 0.8244 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4535, allocations: 1.25 kB / 0.8244 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.4535, allocations: 4.812 kB / 0.8244 GB, free: 22.06 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0006556/0.4542, allocations: 0.6806 MB / 0.8251 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.4542, allocations: 10.84 kB / 0.8251 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.137e-05/0.4543, allocations: 57.5 kB / 0.8252 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005864/0.4549, allocations: 330.2 kB / 0.8255 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.4549, allocations: 25.42 kB / 0.8255 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/0.4549, allocations: 32.67 kB / 0.8255 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.4552, allocations: 252.6 kB / 0.8258 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.4552, allocations: 5 kB / 0.8258 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.4552, allocations: 7.344 kB / 0.8258 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.4553, allocations: 11.61 kB / 0.8258 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.4554, allocations: 157.4 kB / 0.8259 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000942/0.4564, allocations: 0.8189 MB / 0.8267 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.4566, allocations: 209.8 kB / 0.8269 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.4568, allocations: 191.4 kB / 0.8271 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.4568, allocations: 2.344 kB / 0.8271 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002451/0.4571, allocations: 257.6 kB / 0.8274 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=28): time 1.173e-06/0.4571, allocations: 1.25 kB / 0.8274 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28): time 0.0004852/0.4576, allocations: 429.6 kB / 0.8278 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.4576, allocations: 113.4 kB / 0.8279 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.4578, allocations: 324.2 kB / 0.8282 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.4579, allocations: 38.59 kB / 0.8282 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.723e-05/0.458, allocations: 183.6 kB / 0.8284 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.458, allocations: 66.2 kB / 0.8285 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.4581, allocations: 145 kB / 0.8286 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.038e-05/0.4582, allocations: 342 kB / 0.8289 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.4584, allocations: 208.9 kB / 0.8291 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.4587, allocations: 334.7 kB / 0.8295 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003784/0.4591, allocations: 0.529 MB / 0.83 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4591, allocations: 5.375 kB / 0.83 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007024/0.4598, allocations: 0.7434 MB / 0.8307 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.751e-05/0.4599, allocations: 124.4 kB / 0.8308 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4599, allocations: 4.375 kB / 0.8308 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.4599, allocations: 5.469 kB / 0.8308 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.46, allocations: 62.05 kB / 0.8309 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.46, allocations: 10.02 kB / 0.8309 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.4604, allocations: 124.3 kB / 0.831 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.883e-05/0.4604, allocations: 71.84 kB / 0.8311 GB, free: 18.11 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.000129/0.4606, allocations: 200.4 kB / 0.8313 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.4606, allocations: 31.02 kB / 0.8313 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000368/0.461, allocations: 369.8 kB / 0.8317 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.461, allocations: 3.359 kB / 0.8317 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.461, allocations: 5.312 kB / 0.8317 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.461, allocations: 1.922 kB / 0.8317 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005929/0.4616, allocations: 0.7209 MB / 0.8324 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-06/0.4616, allocations: 0 / 0.8324 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.889e-05/0.4617, allocations: 48.56 kB / 0.8324 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.4617, allocations: 5.062 kB / 0.8324 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.4617, allocations: 8.859 kB / 0.8324 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.4617, allocations: 1.906 kB / 0.8324 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4617, allocations: 0 / 0.8324 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.462, allocations: 430 kB / 0.8329 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.462, allocations: 38.59 kB / 0.8329 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.462, allocations: 8.188 kB / 0.8329 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.4621, allocations: 9.375 kB / 0.8329 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.4621, allocations: 25.92 kB / 0.8329 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.4622, allocations: 14.38 kB / 0.8329 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001387/0.4623, allocations: 218.2 kB / 0.8332 GB, free: 16.95 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4623, allocations: 0 / 0.8332 GB, free: 16.95 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002701/0.4626, allocations: 98.95 kB / 0.8332 GB, free: 16.93 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: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001225/0.4627, allocations: 117.1 kB / 0.8334 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005533/0.4632, allocations: 0.6146 MB / 0.834 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4632, allocations: 0 / 0.834 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.4634, allocations: 138.1 kB / 0.8341 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.4637, allocations: 76.62 kB / 0.8342 GB, free: 16.39 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006536/0.4644, allocations: 0.607 MB / 0.8348 GB, free: 16.03 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.4645, allocations: 0.7761 MB / 0.8355 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/0.4646, allocations: 40.16 kB / 0.8356 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/0.4646, allocations: 0 / 0.8356 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of Templates: time 0.006088/0.4707, allocations: 5.006 MB / 0.8404 GB, free: 14.79 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.911518272943795] Failed to read output from testmodel.py, exit status != 0: 0.4761422530282289 0.48448567899999995 0.029251702 Calling exit ...