Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001331/0.001331, allocations: 73.39 kB / 20.5 MB, free: 1.281 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.001501/0.001501, allocations: 164.2 kB / 23.76 MB, free: 4.473 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.448/1.448, allocations: 177.2 MB / 204.1 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9299/0.9299, allocations: 113.9 MB / 374.4 MB, free: 12.89 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [Timeout 660] "Notification: IBPSA 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.002127/0.002127, allocations: 67.19 kB / 0.555 GB, free: 2.742 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1796, allocations: 89.15 MB / 0.6421 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002446/0.182, allocations: 1.068 MB / 0.6431 GB, free: 8.477 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.1842, allocations: 1.533 MB / 0.6446 GB, free: 6.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.54e-05/0.1843, allocations: 0 / 0.6446 GB, free: 6.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.1844, allocations: 31.61 kB / 0.6447 GB, free: 6.898 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.1846, allocations: 63.45 kB / 0.6447 GB, free: 6.836 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.1858, allocations: 0.4937 MB / 0.6452 GB, free: 6.352 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006928/0.1864, allocations: 0.5739 MB / 0.6458 GB, free: 5.777 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.1867, allocations: 96.98 kB / 0.6458 GB, free: 5.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000283/0.187, allocations: 235.4 kB / 0.6461 GB, free: 5.449 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.1873, allocations: 191.2 kB / 0.6463 GB, free: 5.262 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.1874, allocations: 60 kB / 0.6463 GB, free: 5.203 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.1876, allocations: 67.98 kB / 0.6464 GB, free: 5.137 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1877, allocations: 83.69 kB / 0.6465 GB, free: 5.055 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002593/0.1879, allocations: 191.3 kB / 0.6466 GB, free: 4.867 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007226/0.1887, allocations: 0.6306 MB / 0.6473 GB, free: 4.234 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1887, allocations: 4 kB / 0.6473 GB, free: 4.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1887, allocations: 3.938 kB / 0.6473 GB, free: 4.227 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.1887, allocations: 4 kB / 0.6473 GB, free: 4.223 MB / 0.545 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.001012/0.1897, allocations: 0.6717 MB / 0.6479 GB, free: 3.492 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1897, allocations: 15.91 kB / 0.6479 GB, free: 3.477 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.1899, allocations: 52.69 kB / 0.648 GB, free: 3.426 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.1909, allocations: 330 kB / 0.6483 GB, free: 3.078 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.191, allocations: 20.88 kB / 0.6483 GB, free: 3.059 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-05/0.191, allocations: 40.36 kB / 0.6484 GB, free: 3.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000519/0.1915, allocations: 385.1 kB / 0.6487 GB, free: 2.609 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.1916, allocations: 3.938 kB / 0.6487 GB, free: 2.605 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.1916, allocations: 7.938 kB / 0.6487 GB, free: 2.598 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.1916, allocations: 8 kB / 0.6487 GB, free: 2.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.1919, allocations: 161.8 kB / 0.6489 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.1933, allocations: 0.6854 MB / 0.6496 GB, free: 1.715 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.1937, allocations: 215.6 kB / 0.6498 GB, free: 1.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.194, allocations: 188.8 kB / 0.65 GB, free: 1.312 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.194, allocations: 7.953 kB / 0.65 GB, free: 1.305 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004219/0.1945, allocations: 347.4 kB / 0.6503 GB, free: 0.918 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 2.034e-06/0.1945, allocations: 0 / 0.6503 GB, free: 0.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.0007621/0.1952, allocations: 441.7 kB / 0.6507 GB, free: 496 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.557e-05/0.1953, allocations: 114.8 kB / 0.6508 GB, free: 356 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/0.1957, allocations: 320.3 kB / 0.6511 GB, free: 28 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.387e-05/0.1958, allocations: 41.7 kB / 0.6512 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.1959, allocations: 176.7 kB / 0.6513 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.223e-05/0.196, allocations: 71.47 kB / 0.6514 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.1962, allocations: 142 kB / 0.6515 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1964, allocations: 346.8 kB / 0.6519 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004836/0.1969, allocations: 331.5 kB / 0.6522 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/0.1975, allocations: 499.6 kB / 0.6527 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00073/0.1982, allocations: 0.535 MB / 0.6532 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1982, allocations: 4 kB / 0.6532 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001316/0.1995, allocations: 0.876 MB / 0.654 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.1996, allocations: 122.8 kB / 0.6542 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.1997, allocations: 7.984 kB / 0.6542 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.1997, allocations: 8.406 kB / 0.6542 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.1999, allocations: 51.92 kB / 0.6542 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.1999, allocations: 15.92 kB / 0.6542 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007099/0.2006, allocations: 131.5 kB / 0.6544 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.2007, allocations: 71.86 kB / 0.6544 GB, free: 12.35 MB / 0.5606 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.0002555/0.201, allocations: 189.6 kB / 0.6546 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.201, allocations: 31.75 kB / 0.6547 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006131/0.2017, allocations: 372.8 kB / 0.655 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.2017, allocations: 4 kB / 0.655 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.2017, allocations: 0 / 0.655 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2017, allocations: 3.938 kB / 0.655 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009885/0.2027, allocations: 0.6584 MB / 0.6557 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2027, allocations: 0 / 0.6557 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.2028, allocations: 35.92 kB / 0.6557 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2028, allocations: 0 / 0.6557 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.2028, allocations: 11.94 kB / 0.6557 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.2028, allocations: 7.984 kB / 0.6557 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2028, allocations: 0 / 0.6557 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005621/0.2034, allocations: 440.7 kB / 0.6561 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.2034, allocations: 31.7 kB / 0.6562 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/0.2035, allocations: 19.92 kB / 0.6562 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.2036, allocations: 8 kB / 0.6562 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.2037, allocations: 23.95 kB / 0.6562 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.2037, allocations: 12 kB / 0.6562 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002169/0.2039, allocations: 203.1 kB / 0.6564 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2039, allocations: 0 / 0.6564 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004268/0.2043, allocations: 99.89 kB / 0.6565 GB, free: 10.16 MB / 0.5606 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.0001844/0.2045, allocations: 121.2 kB / 0.6566 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.2055, allocations: 0.7461 MB / 0.6574 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.2055, allocations: 0.8125 kB / 0.6574 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.2057, allocations: 127.9 kB / 0.6575 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/0.2062, allocations: 82.53 kB / 0.6576 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009551/0.2072, allocations: 0.5787 MB / 0.6581 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.2074, allocations: 178.5 kB / 0.6583 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001572/0.2076, allocations: 67.23 kB / 0.6584 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.107e-05/0.2076, allocations: 36.5 kB / 0.6584 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of SimCode: time 4.6e-07/0.2076, allocations: 4 kB / 0.6584 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of Templates: time 0.01161/0.2192, allocations: 5.911 MB / 0.6642 GB, free: 2.328 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5624068249017] Failed to read output from testmodel.py, exit status != 0: 0.22789132199250162 0.24254070099999994 0.05084145 Calling exit ...