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.001599/0.001599, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001805/0.001806, allocations: 193.5 kB / 16.25 MB, free: 6.637 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.488/1.488, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002578/0.002578, allocations: 286.8 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.105/1.105, allocations: 178.6 MB / 0.5069 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002849/0.002849, allocations: 96.77 kB / 0.6059 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1712, allocations: 89.15 MB / 0.693 GB, free: 4.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002461/0.1737, allocations: 1.306 MB / 0.6942 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1751, allocations: 0.8835 MB / 0.6951 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.1752, allocations: 0 / 0.6951 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.1752, allocations: 1.75 kB / 0.6951 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.407e-05/0.1753, allocations: 0 / 0.6951 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004776/0.1758, allocations: 123.7 kB / 0.6952 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.069e-05/0.1758, allocations: 23.92 kB / 0.6952 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.1759, allocations: 0 / 0.6952 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.687e-05/0.176, allocations: 19.92 kB / 0.6953 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.402e-05/0.176, allocations: 15.92 kB / 0.6953 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.1761, allocations: 0 / 0.6953 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.1764, allocations: 163.8 kB / 0.6954 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.1764, allocations: 3.984 kB / 0.6954 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.1764, allocations: 15.94 kB / 0.6955 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.1766, allocations: 128 kB / 0.6956 GB, free: 2.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1767, allocations: 4 kB / 0.6956 GB, free: 2.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1767, allocations: 0 / 0.6956 GB, free: 2.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1767, allocations: 0 / 0.6956 GB, free: 2.02 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.0004438/0.1771, allocations: 351.4 kB / 0.6959 GB, free: 1.629 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1772, allocations: 12.03 kB / 0.6959 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.1772, allocations: 4.922 kB / 0.6959 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.1774, allocations: 160.4 kB / 0.6961 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-06/0.1774, allocations: 384 / 0.6961 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.1774, allocations: 8.375 kB / 0.6961 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.1775, allocations: 53.94 kB / 0.6961 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1775, allocations: 0 / 0.6961 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1776, allocations: 4 kB / 0.6961 GB, free: 1.348 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1776, allocations: 0 / 0.6961 GB, free: 1.348 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.018e-05/0.1776, allocations: 27.97 kB / 0.6962 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.1778, allocations: 157.7 kB / 0.6963 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.527e-05/0.1779, allocations: 34.56 kB / 0.6964 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.088e-05/0.178, allocations: 20.92 kB / 0.6964 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.1781, allocations: 93.09 kB / 0.6965 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.1781, allocations: 34.5 kB / 0.6965 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1782, allocations: 3.938 kB / 0.6965 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.000194/0.1784, allocations: 61.69 kB / 0.6966 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.1784, allocations: 51.41 kB / 0.6966 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.464e-05/0.1785, allocations: 101.8 kB / 0.6967 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1785, allocations: 25.7 kB / 0.6967 GB, free: 0.625 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.1786, allocations: 84.27 kB / 0.6968 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.1786, allocations: 23.64 kB / 0.6968 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.1786, allocations: 17.72 kB / 0.6968 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1788, allocations: 318.8 kB / 0.6972 GB, free: 176 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.1788, allocations: 11.92 kB / 0.6972 GB, free: 164 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.038e-05/0.1789, allocations: 8 kB / 0.6972 GB, free: 156 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.667e-05/0.1789, allocations: 24.86 kB / 0.6972 GB, free: 128 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1789, allocations: 0 / 0.6972 GB, free: 128 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001016/0.179, allocations: 57.69 kB / 0.6973 GB, free: 64 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1791, allocations: 13.5 kB / 0.6973 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1791, allocations: 0 / 0.6973 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1791, allocations: 0 / 0.6973 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.311e-05/0.1792, allocations: 12.42 kB / 0.6973 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1792, allocations: 3.938 kB / 0.6973 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.075e-05/0.1792, allocations: 0 / 0.6973 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.1792, allocations: 8 kB / 0.6973 GB, free: 28 kB / 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 9.906e-05/0.1793, allocations: 109.8 kB / 0.6974 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.1794, allocations: 7.938 kB / 0.6974 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.1796, allocations: 85.12 kB / 0.6975 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1796, allocations: 0 / 0.6975 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-06/0.1796, allocations: 4 kB / 0.6975 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1796, allocations: 0 / 0.6975 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.1798, allocations: 165.6 kB / 0.6976 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1798, allocations: 0 / 0.6976 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.037e-05/0.1798, allocations: 15.94 kB / 0.6977 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1798, allocations: 3.938 kB / 0.6977 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.1798, allocations: 0 / 0.6977 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1799, allocations: 4 kB / 0.6977 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1799, allocations: 0 / 0.6977 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.18, allocations: 81.12 kB / 0.6977 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.1801, allocations: 96.92 kB / 0.6978 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.1801, allocations: 3.938 kB / 0.6978 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.121e-05/0.1801, allocations: 4 kB / 0.6978 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.1801, allocations: 8 kB / 0.6978 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.1802, allocations: 0 / 0.6978 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.302e-05/0.1802, allocations: 79.28 kB / 0.6979 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1802, allocations: 0 / 0.6979 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002567/0.1805, allocations: 47.92 kB / 0.698 GB, free: 15.23 MB / 0.4981 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.0002776/0.1808, allocations: 159.1 kB / 0.6981 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.1809, allocations: 28.09 kB / 0.6981 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1809, allocations: 3.938 kB / 0.6982 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.356e-05/0.1809, allocations: 23.92 kB / 0.6982 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.1811, allocations: 8 kB / 0.6982 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.1814, allocations: 130.7 kB / 0.6983 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.1817, allocations: 0.6768 MB / 0.699 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.838e-05/0.1818, allocations: 12 kB / 0.699 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.1818, allocations: 11.44 kB / 0.699 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.1818, allocations: 0 / 0.699 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.003896/0.1857, allocations: 1.199 MB / 0.7002 GB, free: 12.92 MB / 0.4981 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1)