Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 113.5 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 188.7 kB / 17.3 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002152/0.002152, allocations: 276 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9007/0.9007, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 99.11 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1518, allocations: 86.97 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002324/0.1542, allocations: 1.247 MB / 0.6828 GB, free: 6.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.1554, allocations: 0.8653 MB / 0.6837 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.24e-05/0.1555, allocations: 4 kB / 0.6837 GB, free: 5.336 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.1555, allocations: 0 / 0.6837 GB, free: 5.336 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.56e-05/0.1556, allocations: 3.938 kB / 0.6837 GB, free: 5.332 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.156, allocations: 135.5 kB / 0.6838 GB, free: 5.199 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.753e-05/0.1561, allocations: 23.92 kB / 0.6838 GB, free: 5.176 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.1561, allocations: 4 kB / 0.6838 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.427e-05/0.1562, allocations: 23.84 kB / 0.6838 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.556e-05/0.1563, allocations: 15.98 kB / 0.6839 GB, free: 5.133 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.1563, allocations: 0 / 0.6839 GB, free: 5.133 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002795/0.1566, allocations: 163.8 kB / 0.684 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.1566, allocations: 7.938 kB / 0.684 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.1566, allocations: 8 kB / 0.684 GB, free: 4.957 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.1569, allocations: 123.7 kB / 0.6842 GB, free: 4.836 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1569, allocations: 0 / 0.6842 GB, free: 4.836 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1569, allocations: 0 / 0.6842 GB, free: 4.836 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1569, allocations: 0 / 0.6842 GB, free: 4.836 MB / 494.1 MB 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.0003816/0.1573, allocations: 363.4 kB / 0.6845 GB, free: 4.434 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1573, allocations: 8.031 kB / 0.6845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.1574, allocations: 0.9375 kB / 0.6845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.1575, allocations: 172.2 kB / 0.6847 GB, free: 4.219 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1575, allocations: 384 / 0.6847 GB, free: 4.219 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.1575, allocations: 4.312 kB / 0.6847 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.456e-05/0.1576, allocations: 46 kB / 0.6847 GB, free: 4.164 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.1576, allocations: 0 / 0.6847 GB, free: 4.164 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1576, allocations: 4 kB / 0.6847 GB, free: 4.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.1576, allocations: 4 kB / 0.6847 GB, free: 4.156 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.406e-05/0.1577, allocations: 23.97 kB / 0.6847 GB, free: 4.133 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/0.1579, allocations: 165.7 kB / 0.6849 GB, free: 3.922 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.591e-05/0.158, allocations: 42.5 kB / 0.6849 GB, free: 3.871 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.749e-05/0.158, allocations: 12.98 kB / 0.685 GB, free: 3.855 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.1581, allocations: 93.08 kB / 0.685 GB, free: 3.746 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.1582, allocations: 38.5 kB / 0.6851 GB, free: 3.699 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.113e-06/0.1582, allocations: 4 kB / 0.6851 GB, free: 3.695 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.000193/0.1584, allocations: 61.69 kB / 0.6851 GB, free: 3.629 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.1584, allocations: 51.41 kB / 0.6852 GB, free: 3.566 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.484e-05/0.1585, allocations: 97.86 kB / 0.6853 GB, free: 3.461 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.1585, allocations: 29.64 kB / 0.6853 GB, free: 3.426 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.674e-05/0.1586, allocations: 84.08 kB / 0.6854 GB, free: 3.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.1586, allocations: 19.73 kB / 0.6854 GB, free: 3.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.1586, allocations: 17.72 kB / 0.6854 GB, free: 3.297 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.072e-05/0.1587, allocations: 319 kB / 0.6857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.15e-05/0.1587, allocations: 7.984 kB / 0.6857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.1588, allocations: 8 kB / 0.6858 GB, free: 2.961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.497e-05/0.1588, allocations: 24.86 kB / 0.6858 GB, free: 2.934 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1588, allocations: 0 / 0.6858 GB, free: 2.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.115e-05/0.1589, allocations: 61.59 kB / 0.6858 GB, free: 2.867 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.159, allocations: 10.75 kB / 0.6858 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.159, allocations: 0 / 0.6858 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.159, allocations: 0 / 0.6858 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/0.1591, allocations: 15.92 kB / 0.6859 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1591, allocations: 4 kB / 0.6859 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.334e-05/0.1591, allocations: 4 kB / 0.6859 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.1591, allocations: 0 / 0.6859 GB, free: 2.836 MB / 494.1 MB 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 6.926e-05/0.1592, allocations: 113.8 kB / 0.686 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.1592, allocations: 3.938 kB / 0.686 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.1594, allocations: 89.64 kB / 0.6861 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1594, allocations: 0 / 0.6861 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1594, allocations: 8 kB / 0.6861 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1594, allocations: 7.922 kB / 0.6861 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.316e-05/0.1595, allocations: 161.6 kB / 0.6862 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1595, allocations: 0 / 0.6862 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.718e-05/0.1596, allocations: 8 kB / 0.6862 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1596, allocations: 3.938 kB / 0.6862 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.1596, allocations: 4 kB / 0.6863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1596, allocations: 0 / 0.6863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1596, allocations: 0 / 0.6863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.1597, allocations: 93.11 kB / 0.6863 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.097e-05/0.1598, allocations: 81.05 kB / 0.6864 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.1598, allocations: 0 / 0.6864 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.09e-05/0.1598, allocations: 0 / 0.6864 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.1598, allocations: 7.938 kB / 0.6864 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.1598, allocations: 8 kB / 0.6864 GB, free: 2.152 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.981e-05/0.1599, allocations: 83.27 kB / 0.6865 GB, free: 2.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1599, allocations: 0 / 0.6865 GB, free: 2.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.1601, allocations: 47.94 kB / 0.6866 GB, free: 2.023 MB / 494.1 MB 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.0002242/0.1603, allocations: 159.1 kB / 0.6867 GB, free: 1.855 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.319e-05/0.1604, allocations: 23.98 kB / 0.6867 GB, free: 1.832 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1605, allocations: 0 / 0.6867 GB, free: 1.832 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.762e-05/0.1605, allocations: 19.94 kB / 0.6868 GB, free: 1.812 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.1606, allocations: 7.938 kB / 0.6868 GB, free: 1.805 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002551/0.1609, allocations: 118.8 kB / 0.6869 GB, free: 1.664 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.1611, allocations: 0.6845 MB / 0.6875 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.71e-05/0.1612, allocations: 4.25 kB / 0.6875 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.1612, allocations: 15.42 kB / 0.6876 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1612, allocations: 4 kB / 0.6876 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of Templates: time 0.239/0.4002, allocations: 1.179 MB / 0.6887 GB, free: 17.77 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.makefile (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.sim & ./BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1)