Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 105.1 kB / 17.07 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.00139, allocations: 191.8 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.121/1.121, allocations: 147.6 MB / 445.5 MB, free: 8.352 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 63.58 kB / 0.6114 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1729, allocations: 83.17 MB / 0.6926 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001906/0.1748, allocations: 0.6774 MB / 0.6932 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.1767, allocations: 1.269 MB / 0.6945 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/0.1767, allocations: 0 / 0.6945 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.1768, allocations: 5.969 kB / 0.6945 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.927e-05/0.1769, allocations: 17.75 kB / 0.6945 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008372/0.1777, allocations: 301.1 kB / 0.6948 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003666/0.1781, allocations: 278.7 kB / 0.6951 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1782, allocations: 10.97 kB / 0.6951 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.1783, allocations: 111.9 kB / 0.6952 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.1785, allocations: 87.17 kB / 0.6953 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.218e-05/0.1786, allocations: 27.31 kB / 0.6953 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1787, allocations: 36.88 kB / 0.6953 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.758e-05/0.1787, allocations: 16.09 kB / 0.6953 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.1789, allocations: 87.23 kB / 0.6954 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.1792, allocations: 220.8 kB / 0.6956 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1792, allocations: 1.375 kB / 0.6956 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1792, allocations: 0 / 0.6956 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.1792, allocations: 0 / 0.6956 GB, free: 10.78 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006611/0.1799, allocations: 497.7 kB / 0.6961 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1799, allocations: 9.625 kB / 0.6961 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.743e-05/0.18, allocations: 18.5 kB / 0.6961 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.1801, allocations: 172.4 kB / 0.6963 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.1802, allocations: 7.25 kB / 0.6963 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.1802, allocations: 18.12 kB / 0.6963 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1803, allocations: 59.97 kB / 0.6964 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.1804, allocations: 7.922 kB / 0.6964 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1804, allocations: 3.938 kB / 0.6964 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1804, allocations: 5.375 kB / 0.6964 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.906e-05/0.1804, allocations: 15 kB / 0.6964 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.181, allocations: 418 kB / 0.6968 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.87e-05/0.1811, allocations: 32.19 kB / 0.6968 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.132e-05/0.1811, allocations: 23.67 kB / 0.6969 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-06/0.1812, allocations: 5.312 kB / 0.6969 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.1814, allocations: 101.6 kB / 0.697 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.1814, allocations: 0 / 0.697 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0003069/0.1817, allocations: 137.4 kB / 0.6971 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.1817, allocations: 57.91 kB / 0.6971 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.1819, allocations: 143.9 kB / 0.6973 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.1819, allocations: 31.98 kB / 0.6973 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.182, allocations: 102.9 kB / 0.6974 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.182, allocations: 27 kB / 0.6974 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.1822, allocations: 67.17 kB / 0.6975 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1823, allocations: 329 kB / 0.6978 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.1825, allocations: 85.3 kB / 0.6979 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.1828, allocations: 134.2 kB / 0.698 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003027/0.1831, allocations: 235.1 kB / 0.6983 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1831, allocations: 0 / 0.6983 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000658/0.1838, allocations: 383.6 kB / 0.6986 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.828e-05/0.1838, allocations: 101.1 kB / 0.6987 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1839, allocations: 0 / 0.6987 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1839, allocations: 4 kB / 0.6987 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.193e-05/0.1839, allocations: 4 kB / 0.6987 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/0.1839, allocations: 4 kB / 0.6987 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/0.1844, allocations: 80.03 kB / 0.6988 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.544e-05/0.1845, allocations: 19.98 kB / 0.6988 GB, free: 7.762 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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.0001209/0.1846, allocations: 138.5 kB / 0.699 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.1846, allocations: 7.953 kB / 0.699 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.1847, allocations: 12.38 kB / 0.699 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1847, allocations: 0 / 0.699 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1847, allocations: 4 kB / 0.699 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.1847, allocations: 4.359 kB / 0.699 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.1849, allocations: 201.5 kB / 0.6992 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1849, allocations: 0 / 0.6992 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/0.1849, allocations: 4 kB / 0.6992 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1849, allocations: 3.938 kB / 0.6992 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.1849, allocations: 0 / 0.6992 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.1849, allocations: 4 kB / 0.6992 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1849, allocations: 3.938 kB / 0.6992 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.1851, allocations: 137 kB / 0.6993 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.1852, allocations: 85.06 kB / 0.6994 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.1852, allocations: 7.938 kB / 0.6994 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.842e-05/0.1853, allocations: 7.984 kB / 0.6994 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.1853, allocations: 8 kB / 0.6994 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.1853, allocations: 3.984 kB / 0.6994 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.056e-05/0.1854, allocations: 95.27 kB / 0.6995 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.004e-06/0.1854, allocations: 0 / 0.6995 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002677/0.1857, allocations: 51.88 kB / 0.6996 GB, free: 6.902 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0001652/0.1858, allocations: 111.2 kB / 0.6997 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005227/0.1864, allocations: 362 kB / 0.7 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1864, allocations: 0 / 0.7 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.374e-05/0.1864, allocations: 35.98 kB / 0.7001 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.1867, allocations: 34.06 kB / 0.7001 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.1871, allocations: 191.1 kB / 0.7003 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.1875, allocations: 0.6924 MB / 0.7009 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.985e-05/0.1875, allocations: 8.422 kB / 0.701 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.1875, allocations: 15.44 kB / 0.701 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1875, allocations: 0 / 0.701 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of Templates: time 0.005796/0.1933, allocations: 2.62 MB / 0.7035 GB, free: 2.785 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.786604534834623] Failed to read output from testmodel.py, exit status != 0: 0.49873098405078053 0.21324418399999995 0.031511772 Calling exit ...