Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.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.001312/0.001312, allocations: 75.73 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.001413/0.001413, allocations: 162.1 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.451/1.451, 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.94/0.94, allocations: 113.9 MB / 374.5 MB, free: 12.87 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.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch") [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.003237/0.003237, allocations: 61.75 kB / 0.555 GB, free: 2.738 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1742, allocations: 89.15 MB / 0.6421 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002139/0.1763, allocations: 0.7218 MB / 0.6428 GB, free: 8.824 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.1781, allocations: 1.256 MB / 0.644 GB, free: 7.555 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.94e-05/0.1781, allocations: 7.938 kB / 0.644 GB, free: 7.547 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.248e-05/0.1782, allocations: 15.8 kB / 0.6441 GB, free: 7.531 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.485e-05/0.1783, allocations: 11.88 kB / 0.6441 GB, free: 7.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007535/0.179, allocations: 252.7 kB / 0.6443 GB, free: 7.277 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003521/0.1794, allocations: 263.6 kB / 0.6446 GB, free: 7.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.1795, allocations: 29.3 kB / 0.6446 GB, free: 6.992 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.1797, allocations: 103.8 kB / 0.6447 GB, free: 6.891 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.1798, allocations: 87.67 kB / 0.6448 GB, free: 6.805 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.808e-05/0.1799, allocations: 24 kB / 0.6448 GB, free: 6.781 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.985e-05/0.18, allocations: 32 kB / 0.6448 GB, free: 6.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.18, allocations: 43.83 kB / 0.6449 GB, free: 6.707 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.1802, allocations: 87.75 kB / 0.645 GB, free: 6.621 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003126/0.1805, allocations: 247.1 kB / 0.6452 GB, free: 6.379 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1805, allocations: 0 / 0.6452 GB, free: 6.379 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.123e-06/0.1805, allocations: 0 / 0.6452 GB, free: 6.379 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.1805, allocations: 0 / 0.6452 GB, free: 6.379 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.00063/0.1811, allocations: 425.2 kB / 0.6456 GB, free: 5.918 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1811, allocations: 8.031 kB / 0.6456 GB, free: 5.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.173e-05/0.1812, allocations: 20.84 kB / 0.6456 GB, free: 5.891 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.1817, allocations: 182.5 kB / 0.6458 GB, free: 5.688 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.1818, allocations: 16.38 kB / 0.6458 GB, free: 5.672 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/0.1818, allocations: 24.36 kB / 0.6458 GB, free: 5.648 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.182, allocations: 102.2 kB / 0.6459 GB, free: 5.543 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.182, allocations: 3.938 kB / 0.6459 GB, free: 5.539 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.182, allocations: 7.984 kB / 0.6459 GB, free: 5.531 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1821, allocations: 4 kB / 0.6459 GB, free: 5.527 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.1822, allocations: 55.91 kB / 0.646 GB, free: 5.473 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006081/0.1828, allocations: 376 kB / 0.6464 GB, free: 5.074 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.183, allocations: 126.6 kB / 0.6465 GB, free: 4.941 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.439e-05/0.1831, allocations: 60.83 kB / 0.6465 GB, free: 4.879 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.1831, allocations: 0 / 0.6465 GB, free: 4.879 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003106/0.1834, allocations: 179.2 kB / 0.6467 GB, free: 4.691 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.1834, allocations: 0 / 0.6467 GB, free: 4.691 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.0005643/0.184, allocations: 325.5 kB / 0.647 GB, free: 4.367 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.1841, allocations: 71.33 kB / 0.6471 GB, free: 4.285 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.1842, allocations: 163.3 kB / 0.6472 GB, free: 4.117 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.75e-05/0.1843, allocations: 41.7 kB / 0.6473 GB, free: 4.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.625e-05/0.1843, allocations: 112.9 kB / 0.6474 GB, free: 3.953 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.1844, allocations: 67.47 kB / 0.6475 GB, free: 3.887 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.1846, allocations: 106 kB / 0.6476 GB, free: 3.773 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1847, allocations: 326.8 kB / 0.6479 GB, free: 3.445 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.185, allocations: 168.2 kB / 0.648 GB, free: 3.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.1852, allocations: 221.4 kB / 0.6482 GB, free: 3.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.1856, allocations: 290.8 kB / 0.6485 GB, free: 2.699 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1856, allocations: 0 / 0.6485 GB, free: 2.699 MB / 0.545 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000702/0.1863, allocations: 485.7 kB / 0.649 GB, free: 2.195 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.687e-05/0.1864, allocations: 67.39 kB / 0.649 GB, free: 2.117 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1864, allocations: 0 / 0.649 GB, free: 2.117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1864, allocations: 8.188 kB / 0.6491 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.118e-05/0.1865, allocations: 19.92 kB / 0.6491 GB, free: 2.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.1865, allocations: 11.88 kB / 0.6491 GB, free: 2.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003708/0.1868, allocations: 63.78 kB / 0.6491 GB, free: 2.016 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.1869, allocations: 20 kB / 0.6492 GB, free: 1.996 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,tru.y,fal.y,truCleTruIni.clr,truCleFalIni.clr,falCleTruIni.clr,falCleFalIni.clr,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 2 * 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.0001508/0.187, allocations: 161.8 kB / 0.6493 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.1871, allocations: 15.91 kB / 0.6493 GB, free: 1.812 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.015e-05/0.1871, allocations: 17.97 kB / 0.6494 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1871, allocations: 4 kB / 0.6494 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.1871, allocations: 3.938 kB / 0.6494 GB, free: 1.789 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1871, allocations: 3.984 kB / 0.6494 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007443/0.1879, allocations: 0.5462 MB / 0.6499 GB, free: 1.203 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1879, allocations: 4 kB / 0.6499 GB, free: 1.199 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.587e-05/0.1879, allocations: 11.94 kB / 0.6499 GB, free: 1.188 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1879, allocations: 3.984 kB / 0.6499 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.1879, allocations: 8 kB / 0.6499 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1879, allocations: 0 / 0.6499 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1879, allocations: 0 / 0.6499 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.1884, allocations: 368.5 kB / 0.6503 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.1884, allocations: 23.84 kB / 0.6503 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.1884, allocations: 0 / 0.6503 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.547e-05/0.1885, allocations: 8 kB / 0.6503 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.1885, allocations: 27.89 kB / 0.6503 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.1886, allocations: 16 kB / 0.6503 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.129e-05/0.1886, allocations: 105.4 kB / 0.6504 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1886, allocations: 4 kB / 0.6505 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000337/0.189, allocations: 63.95 kB / 0.6505 GB, free: 0.5547 MB / 0.545 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 (swiCleInp1.clr,swiCleInp.clr,truCleFalIni.u,swiCleInp1.u,swiCleInp.u,truCleTruIni.u,falCleTruIni.u,falCleFalIni.u,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.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): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001509/0.1891, allocations: 113.2 kB / 0.6506 GB, free: 448 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005625/0.1897, allocations: 410.6 kB / 0.651 GB, free: 0 / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1897, allocations: 384 / 0.651 GB, free: 0 / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.1898, allocations: 91.94 kB / 0.6511 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.1901, allocations: 35.84 kB / 0.6511 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005776/0.1907, allocations: 324.9 kB / 0.6514 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.1908, allocations: 112.5 kB / 0.6516 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.938e-05/0.1909, allocations: 26.28 kB / 0.6516 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.1909, allocations: 20.5 kB / 0.6516 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.1909, allocations: 4 kB / 0.6516 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of Templates: time 0.006734/0.1977, allocations: 2.837 MB / 0.6544 GB, free: 12.56 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.503582210978493] Failed to read output from testmodel.py, exit status != 0: 0.20775616390164942 0.22130534100000002 0.037620959 Calling exit ...