Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.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.001326/0.001326, allocations: 71.36 kB / 20.51 MB, free: 1.285 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.001467/0.001467, allocations: 160.6 kB / 23.76 MB, free: 4.469 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.438/1.438, allocations: 177.2 MB / 204.1 MB, free: 8.977 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.931/0.931, allocations: 113.9 MB / 374.5 MB, free: 12.9 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.Integers.Validation.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage") [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.002055/0.002055, allocations: 69.66 kB / 0.555 GB, free: 2.734 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1687, allocations: 89.15 MB / 0.6421 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Stage): time 0.002299/0.171, allocations: 0.8576 MB / 0.6429 GB, free: 8.691 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.1726, allocations: 1.073 MB / 0.644 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.198e-05/0.1727, allocations: 0 / 0.644 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.1728, allocations: 19.75 kB / 0.644 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.173, allocations: 43.69 kB / 0.644 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.1734, allocations: 147.7 kB / 0.6442 GB, free: 7.398 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003806/0.1738, allocations: 343.3 kB / 0.6445 GB, free: 7.062 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1739, allocations: 21.78 kB / 0.6445 GB, free: 7.043 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.1742, allocations: 171.6 kB / 0.6447 GB, free: 6.875 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003087/0.1745, allocations: 203.4 kB / 0.6449 GB, free: 6.676 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.815e-05/0.1746, allocations: 35.94 kB / 0.6449 GB, free: 6.641 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.801e-05/0.1747, allocations: 40 kB / 0.645 GB, free: 6.602 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.1748, allocations: 111.8 kB / 0.6451 GB, free: 6.492 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.1749, allocations: 111.5 kB / 0.6452 GB, free: 6.383 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.1754, allocations: 342.8 kB / 0.6455 GB, free: 6.047 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1754, allocations: 0 / 0.6455 GB, free: 6.047 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1754, allocations: 0 / 0.6455 GB, free: 6.047 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1754, allocations: 3.938 kB / 0.6455 GB, free: 6.043 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.002145/0.1775, allocations: 0.7043 MB / 0.6462 GB, free: 5.305 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.1775, allocations: 8.031 kB / 0.6462 GB, free: 5.297 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.1777, allocations: 36.78 kB / 0.6462 GB, free: 5.262 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007723/0.1785, allocations: 286.1 kB / 0.6465 GB, free: 4.957 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.1785, allocations: 20.38 kB / 0.6465 GB, free: 4.938 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.593e-05/0.1786, allocations: 24.12 kB / 0.6466 GB, free: 4.914 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008646/0.1795, allocations: 343 kB / 0.6469 GB, free: 4.566 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1795, allocations: 0 / 0.6469 GB, free: 4.566 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.1795, allocations: 7.984 kB / 0.6469 GB, free: 4.559 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1795, allocations: 4 kB / 0.6469 GB, free: 4.555 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006889/0.1802, allocations: 211.8 kB / 0.6471 GB, free: 4.348 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.1819, allocations: 0.5899 MB / 0.6477 GB, free: 3.723 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007177/0.1826, allocations: 245 kB / 0.6479 GB, free: 3.465 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/0.1832, allocations: 180.7 kB / 0.6481 GB, free: 3.285 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.1832, allocations: 8 kB / 0.6481 GB, free: 3.277 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007951/0.184, allocations: 337.8 kB / 0.6484 GB, free: 2.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 1.744e-06/0.184, allocations: 0 / 0.6484 GB, free: 2.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=30): time 0.001916/0.1859, allocations: 0.6367 MB / 0.649 GB, free: 2.289 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.776e-05/0.186, allocations: 97.08 kB / 0.6491 GB, free: 2.176 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.1862, allocations: 211 kB / 0.6493 GB, free: 1.957 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.436e-05/0.1863, allocations: 49.7 kB / 0.6494 GB, free: 1.902 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.1864, allocations: 133.1 kB / 0.6495 GB, free: 1.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.1865, allocations: 79.47 kB / 0.6496 GB, free: 1.691 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.1866, allocations: 78.19 kB / 0.6496 GB, free: 1.609 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.1868, allocations: 346.7 kB / 0.65 GB, free: 1.262 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.1871, allocations: 112.9 kB / 0.6501 GB, free: 1.152 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/0.1874, allocations: 174.1 kB / 0.6503 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004062/0.1878, allocations: 204.2 kB / 0.6504 GB, free: 0.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1878, allocations: 0 / 0.6504 GB, free: 0.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006687/0.1885, allocations: 335 kB / 0.6508 GB, free: 428 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.1885, allocations: 10.03 kB / 0.6508 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1885, allocations: 0 / 0.6508 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/0.1886, allocations: 4 kB / 0.6508 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.1888, allocations: 47.84 kB / 0.6508 GB, free: 368 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.1888, allocations: 8.125 kB / 0.6508 GB, free: 360 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/0.1892, allocations: 83.64 kB / 0.6509 GB, free: 276 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.1892, allocations: 15.94 kB / 0.6509 GB, free: 260 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 52 (zerHolTim.y,$PRE.zerHolTim.y,sta.y,$PRE.sta.y,zerHolTim.checkLower,$PRE.zerHolTim.checkLower,zerHolTim.checkUpper,$PRE.zerHolTim.checkUpper,zerHolTim.lowerThreshold,$PRE.zerHolTim.lowerThreshold,zerHolTim.upperThreshold,$PRE.zerHolTim.upperThreshold,zerHolTim.tNext,$PRE.zerHolTim.tNext,sta.checkLower,$PRE.sta.checkLower,sta.checkUpper,$PRE.sta.checkUpper,sta.lowerThreshold,$PRE.sta.lowerThreshold,sta.upperThreshold,$PRE.sta.upperThreshold,sta.tNext,$PRE.sta.tNext,$whenCondition3,$whenCondition4,lesHolTim.y,$PRE.lesHolTim.y,sta1.y,$PRE.sta1.y,lesHolTim.checkLower,$PRE.lesHolTim.checkLower,lesHolTim.checkUpper,$PRE.lesHolTim.checkUpper,lesHolTim.lowerThreshold,$PRE.lesHolTim.lowerThreshold,lesHolTim.upperThreshold,$PRE.lesHolTim.upperThreshold,lesHolTim.tNext,$PRE.lesHolTim.tNext,sta1.checkLower,$PRE.sta1.checkLower,sta1.checkUpper,$PRE.sta1.checkUpper,sta1.lowerThreshold,$PRE.sta1.lowerThreshold,sta1.upperThreshold,$PRE.sta1.upperThreshold,sta1.tNext,$PRE.sta1.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * 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.0001908/0.1894, allocations: 159 kB / 0.6511 GB, free: 92 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.96e-05/0.1895, allocations: 35.84 kB / 0.6511 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.798e-05/0.1895, allocations: 29.41 kB / 0.6511 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.1895, allocations: 4 kB / 0.6511 GB, free: 24 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1895, allocations: 0 / 0.6511 GB, free: 24 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1895, allocations: 7.984 kB / 0.6512 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.1898, allocations: 205 kB / 0.6514 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1898, allocations: 3.938 kB / 0.6514 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.239e-05/0.1899, allocations: 11.98 kB / 0.6514 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1899, allocations: 0 / 0.6514 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.1899, allocations: 11.98 kB / 0.6514 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1899, allocations: 4 kB / 0.6514 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1899, allocations: 4 kB / 0.6514 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.1913, allocations: 0.5226 MB / 0.6519 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.1913, allocations: 23.75 kB / 0.6519 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.391e-05/0.1914, allocations: 19.98 kB / 0.6519 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004836/0.1919, allocations: 71.89 kB / 0.652 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.1921, allocations: 75.86 kB / 0.6521 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.1921, allocations: 19.98 kB / 0.6521 GB, free: 15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000134/0.1922, allocations: 152.2 kB / 0.6522 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1922, allocations: 0 / 0.6522 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003364/0.1926, allocations: 63.94 kB / 0.6523 GB, free: 14.79 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition4,$whenCondition3,sta.y,sta.tNext,sta.upperThreshold,sta.lowerThreshold,sta.checkUpper,sta.checkLower,zerHolTim.y,zerHolTim.tNext,zerHolTim.upperThreshold,zerHolTim.lowerThreshold,zerHolTim.checkUpper,zerHolTim.checkLower,$whenCondition2,$whenCondition1,sta1.y,sta1.tNext,sta1.upperThreshold,sta1.lowerThreshold,sta1.checkUpper,sta1.checkLower,lesHolTim.y,lesHolTim.tNext,lesHolTim.upperThreshold,lesHolTim.lowerThreshold,lesHolTim.checkUpper,lesHolTim.checkLower) * Number of discrete states: 20 (sta1.lowerThreshold,lesHolTim.lowerThreshold,lesHolTim.checkLower,lesHolTim.checkUpper,lesHolTim.upperThreshold,sta1.checkLower,sta1.checkUpper,sta1.upperThreshold,sta1.tNext,lesHolTim.tNext,sta.lowerThreshold,zerHolTim.lowerThreshold,zerHolTim.checkLower,zerHolTim.checkUpper,zerHolTim.upperThreshold,sta.checkLower,sta.checkUpper,sta.upperThreshold,sta.tNext,zerHolTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0001748/0.1927, allocations: 127.2 kB / 0.6524 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009113/0.1936, allocations: 340 kB / 0.6527 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1937, allocations: 3.938 kB / 0.6528 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006196/0.1943, allocations: 206.8 kB / 0.6529 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.1948, allocations: 75.84 kB / 0.653 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.1962, allocations: 0.5371 MB / 0.6535 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.1964, allocations: 132.9 kB / 0.6537 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001542/0.1965, allocations: 42.97 kB / 0.6537 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.1966, allocations: 40.47 kB / 0.6538 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.1966, allocations: 0 / 0.6538 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.01214/0.2088, allocations: 6.211 MB / 0.6598 GB, free: 7.152 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.680577520979568] Failed to read output from testmodel.py, exit status != 0: 0.21728946000803262 0.23211816700000001 0.053690783000000006 Calling exit ...