Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.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.001233/0.001233, allocations: 114.6 kB / 19.59 MB, free: 2.301 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.001428/0.001428, allocations: 191.1 kB / 22.85 MB, free: 5.648 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.363/1.363, allocations: 225.6 MB / 251.5 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.937/0.937, allocations: 149.5 MB / 456.3 MB, free: 1.281 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.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 70.45 kB / 0.6324 GB, free: 9.109 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1729, allocations: 87.87 MB / 0.7183 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002002/0.1749, allocations: 0.6971 MB / 0.7189 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.176, allocations: 0.8707 MB / 0.7198 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.958e-05/0.176, allocations: 0 / 0.7198 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.176, allocations: 3.938 kB / 0.7198 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.834e-05/0.1761, allocations: 7.875 kB / 0.7198 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.1763, allocations: 23.92 kB / 0.7198 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.639e-05/0.1764, allocations: 51.91 kB / 0.7199 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1765, allocations: 7.984 kB / 0.7199 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.882e-05/0.1765, allocations: 19.92 kB / 0.7199 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.758e-05/0.1766, allocations: 15.92 kB / 0.7199 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.1766, allocations: 4 kB / 0.7199 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.1766, allocations: 4 kB / 0.7199 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.1766, allocations: 11.98 kB / 0.7199 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.1767, allocations: 19.88 kB / 0.72 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.1768, allocations: 47.72 kB / 0.72 GB, free: 15.36 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1768, allocations: 4 kB / 0.72 GB, free: 15.36 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1768, allocations: 4 kB / 0.72 GB, free: 15.36 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.1768, allocations: 0 / 0.72 GB, free: 15.36 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005174/0.1773, allocations: 286.2 kB / 0.7203 GB, free: 15.04 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1774, allocations: 8.625 kB / 0.7203 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.1774, allocations: 8.891 kB / 0.7203 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.1775, allocations: 106.5 kB / 0.7204 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1775, allocations: 4.375 kB / 0.7204 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.1775, allocations: 384 / 0.7204 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.1778, allocations: 78.2 kB / 0.7205 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1778, allocations: 192 / 0.7205 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1778, allocations: 3.938 kB / 0.7205 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1778, allocations: 0 / 0.7205 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002678/0.1781, allocations: 67.86 kB / 0.7205 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.1785, allocations: 232.1 kB / 0.7208 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.1787, allocations: 58.47 kB / 0.7208 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.1788, allocations: 36.92 kB / 0.7209 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.1789, allocations: 3.984 kB / 0.7209 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.1789, allocations: 38.5 kB / 0.7209 GB, free: 14.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1789, allocations: 4 kB / 0.7209 GB, free: 14.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005013/0.1794, allocations: 125.7 kB / 0.721 GB, free: 14.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.1794, allocations: 55.41 kB / 0.7211 GB, free: 14.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.459e-05/0.1795, allocations: 105.8 kB / 0.7212 GB, free: 14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1795, allocations: 25.7 kB / 0.7212 GB, free: 13.97 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.1796, allocations: 96.08 kB / 0.7213 GB, free: 13.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.1796, allocations: 7.891 kB / 0.7213 GB, free: 13.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.1797, allocations: 17.72 kB / 0.7213 GB, free: 13.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1798, allocations: 314.8 kB / 0.7216 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.1799, allocations: 35.97 kB / 0.7216 GB, free: 13.49 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1801, allocations: 32 kB / 0.7217 GB, free: 13.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.1803, allocations: 72.72 kB / 0.7217 GB, free: 13.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1803, allocations: 3.938 kB / 0.7218 GB, free: 13.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002959/0.1806, allocations: 101.6 kB / 0.7219 GB, free: 13.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1806, allocations: 6.188 kB / 0.7219 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1806, allocations: 3.984 kB / 0.7219 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1806, allocations: 0 / 0.7219 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.1808, allocations: 15.98 kB / 0.7219 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1808, allocations: 0 / 0.7219 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.939e-05/0.1808, allocations: 15.98 kB / 0.7219 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1809, allocations: 4 kB / 0.7219 GB, free: 13.23 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001456/0.181, allocations: 113.8 kB / 0.722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.181, allocations: 3.938 kB / 0.722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.1811, allocations: 11.98 kB / 0.722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1811, allocations: 0 / 0.722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1811, allocations: 7.938 kB / 0.722 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1811, allocations: 0 / 0.722 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.1813, allocations: 144.7 kB / 0.7222 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1813, allocations: 0 / 0.7222 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.373e-05/0.1813, allocations: 19.97 kB / 0.7222 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1813, allocations: 4 kB / 0.7222 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.1814, allocations: 0 / 0.7222 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1814, allocations: 0 / 0.7222 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1814, allocations: 0 / 0.7222 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.1817, allocations: 199.4 kB / 0.7224 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-06/0.1817, allocations: 7.938 kB / 0.7224 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.1817, allocations: 0 / 0.7224 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1818, allocations: 11.97 kB / 0.7224 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.1819, allocations: 4 kB / 0.7224 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.1819, allocations: 0 / 0.7224 GB, free: 12.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.569e-05/0.1819, allocations: 95.25 kB / 0.7225 GB, free: 12.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1819, allocations: 3.938 kB / 0.7225 GB, free: 12.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002181/0.1821, allocations: 8 kB / 0.7225 GB, free: 12.54 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001163/0.1823, allocations: 101.9 kB / 0.7226 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003208/0.1826, allocations: 63.92 kB / 0.7227 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1826, allocations: 0 / 0.7227 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.1827, allocations: 43.95 kB / 0.7227 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.183, allocations: 3.938 kB / 0.7227 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.1833, allocations: 129.4 kB / 0.7228 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.1836, allocations: 0.6807 MB / 0.7235 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.549e-05/0.1837, allocations: 0 / 0.7235 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.1837, allocations: 15.81 kB / 0.7235 GB, free: 11.45 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.1837, allocations: 0 / 0.7235 GB, free: 11.45 MB / 0.545 GB Notification: Performance of Templates: time 0.003161/0.1868, allocations: 0.7397 MB / 0.7242 GB, free: 10.71 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.281441132538021] Failed to read output from testmodel.py, exit status != 0: 0.19493849854916334 0.20874162000000002 0.028943155 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f77c6af57b0>