Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001405/0.001405, allocations: 104 kB / 20.33 MB, free: 1.59 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.001464/0.001464, allocations: 191.9 kB / 23.59 MB, free: 4.977 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.464/1.464, allocations: 225.6 MB / 252.3 MB, free: 13.06 MB / 206.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 0.9884/0.9884, allocations: 149.6 MB / 457.1 MB, free: 1.242 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.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 73.06 kB / 0.6331 GB, free: 9.137 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1644, allocations: 87.87 MB / 0.7189 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002336/0.1668, allocations: 0.8686 MB / 0.7198 GB, free: 332 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001938/0.1687, allocations: 1.306 MB / 0.7211 GB, free: 15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.071e-05/0.1688, allocations: 0 / 0.7211 GB, free: 15 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.1689, allocations: 23.8 kB / 0.7211 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.169, allocations: 31.72 kB / 0.7211 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009218/0.1699, allocations: 265.6 kB / 0.7214 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004735/0.1704, allocations: 323.5 kB / 0.7217 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.1706, allocations: 41.66 kB / 0.7217 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.1708, allocations: 131.7 kB / 0.7218 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.1711, allocations: 119.6 kB / 0.722 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.102e-05/0.1711, allocations: 28 kB / 0.722 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.1713, allocations: 51.92 kB / 0.722 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.506e-05/0.1714, allocations: 51.83 kB / 0.7221 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.1715, allocations: 111.5 kB / 0.7222 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004634/0.172, allocations: 350.7 kB / 0.7225 GB, free: 13.51 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.172, allocations: 0 / 0.7225 GB, free: 13.51 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.172, allocations: 0 / 0.7225 GB, free: 13.51 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.172, allocations: 0 / 0.7225 GB, free: 13.51 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.0008149/0.1728, allocations: 492.7 kB / 0.723 GB, free: 12.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1728, allocations: 8.625 kB / 0.723 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.173, allocations: 32.78 kB / 0.723 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006813/0.1736, allocations: 238 kB / 0.7233 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.1737, allocations: 12.38 kB / 0.7233 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.967e-05/0.1737, allocations: 20.38 kB / 0.7233 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.174, allocations: 152.9 kB / 0.7234 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.174, allocations: 7.875 kB / 0.7235 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.174, allocations: 4 kB / 0.7235 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.174, allocations: 7.938 kB / 0.7235 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.1742, allocations: 63.91 kB / 0.7235 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000913/0.1751, allocations: 0.7187 MB / 0.7242 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.1752, allocations: 57.14 kB / 0.7243 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.1752, allocations: 25.77 kB / 0.7243 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.1752, allocations: 0 / 0.7243 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.1754, allocations: 105 kB / 0.7244 GB, free: 11.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.1754, allocations: 4 kB / 0.7244 GB, free: 11.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003321/0.1757, allocations: 125.5 kB / 0.7245 GB, free: 11.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.1758, allocations: 81.11 kB / 0.7246 GB, free: 11.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.176, allocations: 215.8 kB / 0.7248 GB, free: 10.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.101e-05/0.1761, allocations: 29.7 kB / 0.7248 GB, free: 10.92 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.1762, allocations: 144.2 kB / 0.725 GB, free: 10.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.1762, allocations: 19.89 kB / 0.725 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.1764, allocations: 65.67 kB / 0.7251 GB, free: 10.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1765, allocations: 326.8 kB / 0.7254 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.1767, allocations: 67.95 kB / 0.7254 GB, free: 10.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.1769, allocations: 136.5 kB / 0.7256 GB, free: 10.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.1772, allocations: 198.2 kB / 0.7258 GB, free: 9.895 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1772, allocations: 0 / 0.7258 GB, free: 9.895 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005528/0.1778, allocations: 300.7 kB / 0.726 GB, free: 9.582 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.359e-05/0.1778, allocations: 69.38 kB / 0.7261 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1778, allocations: 480 / 0.7261 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1779, allocations: 4.188 kB / 0.7261 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.132e-05/0.1779, allocations: 19.92 kB / 0.7261 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1779, allocations: 0 / 0.7261 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004306/0.1784, allocations: 75.81 kB / 0.7262 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.1784, allocations: 15.98 kB / 0.7262 GB, free: 9.391 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.000182/0.1786, allocations: 151.1 kB / 0.7264 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.1786, allocations: 19.89 kB / 0.7264 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.1787, allocations: 13.03 kB / 0.7264 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.1787, allocations: 4 kB / 0.7264 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.1787, allocations: 11.86 kB / 0.7264 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1787, allocations: 0 / 0.7264 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.1789, allocations: 204.6 kB / 0.7266 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1789, allocations: 0 / 0.7266 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-05/0.1789, allocations: 4 kB / 0.7266 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1789, allocations: 0 / 0.7266 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.179, allocations: 12 kB / 0.7266 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.179, allocations: 0 / 0.7266 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.179, allocations: 0 / 0.7266 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.1792, allocations: 137.8 kB / 0.7268 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.989e-05/0.1792, allocations: 15.89 kB / 0.7268 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.1792, allocations: 7.938 kB / 0.7268 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.168e-05/0.1793, allocations: 0 / 0.7268 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.1793, allocations: 15.98 kB / 0.7268 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.1793, allocations: 4 kB / 0.7268 GB, free: 8.727 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001455/0.1794, allocations: 144.2 kB / 0.7269 GB, free: 8.586 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1794, allocations: 4 kB / 0.7269 GB, free: 8.582 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000313/0.1798, allocations: 43.89 kB / 0.727 GB, free: 8.539 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001886/0.18, allocations: 111.2 kB / 0.7271 GB, free: 8.418 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004343/0.1804, allocations: 234.9 kB / 0.7273 GB, free: 8.164 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1804, allocations: 0 / 0.7273 GB, free: 8.164 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.202e-05/0.1805, allocations: 23.98 kB / 0.7273 GB, free: 8.141 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.1808, allocations: 39.84 kB / 0.7274 GB, free: 8.102 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006001/0.1814, allocations: 304.7 kB / 0.7277 GB, free: 7.777 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.1818, allocations: 0.7359 MB / 0.7284 GB, free: 7.016 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.544e-05/0.1818, allocations: 17.48 kB / 0.7284 GB, free: 7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.1819, allocations: 15.44 kB / 0.7284 GB, free: 6.984 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.1819, allocations: 4 kB / 0.7284 GB, free: 6.98 MB / 0.545 GB Notification: Performance of Templates: time 0.007075/0.1889, allocations: 2.588 MB / 0.7309 GB, free: 4.43 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.747119342995575] Failed to read output from testmodel.py, exit status != 0: 0.19844166400434915 0.22496189800000002 0.04784478 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f8b271f5840>