Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.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.001307/0.001307, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001362/0.001362, allocations: 188.4 kB / 22.22 MB, free: 5.098 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.416/1.416, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002522/0.002522, allocations: 289.2 kB / 306.6 MB, free: 8.34 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.248/1.248, allocations: 180.9 MB / 0.53 GB, free: 14.51 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002721/0.002721, allocations: 102.6 kB / 0.7308 GB, free: 38.92 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1707, allocations: 94.21 MB / 0.8228 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002529/0.1732, allocations: 1.261 MB / 0.824 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1745, allocations: 0.7148 MB / 0.8247 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.838e-05/0.1745, allocations: 0 / 0.8247 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.278e-05/0.1745, allocations: 7.922 kB / 0.8247 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.314e-05/0.1746, allocations: 3.984 kB / 0.8247 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.175, allocations: 123.7 kB / 0.8249 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.853e-05/0.1751, allocations: 23.88 kB / 0.8249 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.936e-05/0.1751, allocations: 7.984 kB / 0.8249 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.784e-05/0.1752, allocations: 8 kB / 0.8249 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.281e-05/0.1753, allocations: 19.91 kB / 0.8249 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.1753, allocations: 0 / 0.8249 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003874/0.1757, allocations: 163.8 kB / 0.8251 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.1757, allocations: 0 / 0.8251 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.462e-05/0.1757, allocations: 15.94 kB / 0.8251 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.176, allocations: 107.7 kB / 0.8252 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.176, allocations: 3.938 kB / 0.8252 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.176, allocations: 4 kB / 0.8252 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.176, allocations: 0 / 0.8252 GB, free: 15.4 MB / 0.5762 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.0005161/0.1765, allocations: 270.2 kB / 0.8255 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1766, allocations: 8.031 kB / 0.8255 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.1766, allocations: 4.938 kB / 0.8255 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.1767, allocations: 102.5 kB / 0.8256 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1767, allocations: 4.375 kB / 0.8256 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.1767, allocations: 8.375 kB / 0.8256 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.1768, allocations: 46 kB / 0.8256 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1769, allocations: 0 / 0.8256 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1769, allocations: 0 / 0.8256 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.1769, allocations: 0 / 0.8256 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.02e-05/0.1769, allocations: 31.91 kB / 0.8257 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.1771, allocations: 136.7 kB / 0.8258 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.001e-05/0.1772, allocations: 42.56 kB / 0.8258 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.322e-05/0.1772, allocations: 8.859 kB / 0.8258 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003054/0.1775, allocations: 32.09 kB / 0.8259 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1776, allocations: 34.5 kB / 0.8259 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1776, allocations: 4 kB / 0.8259 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0001837/0.1778, allocations: 69.52 kB / 0.826 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.1778, allocations: 51.41 kB / 0.826 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.1779, allocations: 105.8 kB / 0.8261 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.178, allocations: 25.7 kB / 0.8261 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.975e-05/0.178, allocations: 80.14 kB / 0.8262 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.178, allocations: 19.89 kB / 0.8262 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/0.1781, allocations: 13.72 kB / 0.8263 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1783, allocations: 318.8 kB / 0.8266 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.222e-05/0.1783, allocations: 8 kB / 0.8266 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.679e-05/0.1783, allocations: 8.125 kB / 0.8266 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.545e-05/0.1783, allocations: 28.84 kB / 0.8266 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1784, allocations: 0 / 0.8266 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001028/0.1785, allocations: 61.62 kB / 0.8267 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1785, allocations: 7.938 kB / 0.8267 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1785, allocations: 448 / 0.8267 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1785, allocations: 0 / 0.8267 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.501e-05/0.1786, allocations: 8 kB / 0.8267 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1786, allocations: 0 / 0.8267 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.304e-05/0.1786, allocations: 7.953 kB / 0.8267 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.1786, allocations: 8 kB / 0.8267 GB, free: 13.69 MB / 0.5762 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 (5): * Single equations (assignments): 5 * 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 8.743e-05/0.1787, allocations: 114.2 kB / 0.8268 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.1787, allocations: 11.92 kB / 0.8268 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.1789, allocations: 85.23 kB / 0.8269 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1789, allocations: 0 / 0.8269 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.1789, allocations: 0 / 0.8269 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1789, allocations: 0 / 0.8269 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.179, allocations: 128.8 kB / 0.827 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.179, allocations: 4 kB / 0.827 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.1791, allocations: 12 kB / 0.827 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1791, allocations: 3.938 kB / 0.827 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.1791, allocations: 0 / 0.827 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1791, allocations: 0 / 0.827 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.1791, allocations: 7.969 kB / 0.827 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.1792, allocations: 93.02 kB / 0.8271 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-06/0.1792, allocations: 3.938 kB / 0.8271 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.1793, allocations: 8 kB / 0.8271 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.735e-05/0.1793, allocations: 3.938 kB / 0.8271 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.1793, allocations: 3.984 kB / 0.8271 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.1793, allocations: 8 kB / 0.8272 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.077e-05/0.1793, allocations: 75.28 kB / 0.8272 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1793, allocations: 0 / 0.8272 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002368/0.1796, allocations: 31.88 kB / 0.8273 GB, free: 13.03 MB / 0.5762 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 (6): * Single equations (assignments): 6 * 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.0003084/0.1799, allocations: 135.2 kB / 0.8274 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.18, allocations: 31.92 kB / 0.8274 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.18, allocations: 0 / 0.8274 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.68e-05/0.18, allocations: 12 kB / 0.8274 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.1802, allocations: 10.98 kB / 0.8274 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.1805, allocations: 131.3 kB / 0.8276 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.1808, allocations: 0.6768 MB / 0.8282 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.171e-05/0.1808, allocations: 19.84 kB / 0.8282 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.1808, allocations: 15.38 kB / 0.8283 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1808, allocations: 0 / 0.8283 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of Templates: time 0.004401/0.1852, allocations: 1.335 MB / 0.8296 GB, free: 10.61 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.sim & ./BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.970087689347565] Failed to read output from testmodel.py, exit status != 0: 0.19308922719210386 0.20976811599999995 0.03050365199999994 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa25a3e97b0>