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.001083/0.001083, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.001373/0.001373, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001721/0.001721, allocations: 274.9 kB / 291.4 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9407/0.9407, allocations: 169.5 MB / 0.5 GB, free: 14.24 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004066/0.0004067, allocations: 15.44 kB / 0.598 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1355, allocations: 88.54 MB / 0.6845 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.001075/0.1366, allocations: 0.963 MB / 0.6854 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1377, allocations: 0.8091 MB / 0.6862 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.939e-05/0.1377, allocations: 0 / 0.6862 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.24e-05/0.1377, allocations: 1.219 kB / 0.6862 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.647e-05/0.1378, allocations: 7.938 kB / 0.6862 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.1381, allocations: 110 kB / 0.6863 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.02e-05/0.1382, allocations: 15.94 kB / 0.6863 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.1382, allocations: 7.984 kB / 0.6863 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.54e-05/0.1383, allocations: 11.94 kB / 0.6863 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.141e-05/0.1384, allocations: 18.25 kB / 0.6864 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.1384, allocations: 0 / 0.6864 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002509/0.1386, allocations: 151.8 kB / 0.6865 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.1387, allocations: 11.92 kB / 0.6865 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.1387, allocations: 25.7 kB / 0.6865 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.1388, allocations: 84.61 kB / 0.6866 GB, free: 13.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1388, allocations: 0 / 0.6866 GB, free: 13.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1388, allocations: 0.6562 kB / 0.6866 GB, free: 13.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1388, allocations: 4 kB / 0.6866 GB, free: 13.28 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.0003195/0.1392, allocations: 354.9 kB / 0.687 GB, free: 12.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.1392, allocations: 8.031 kB / 0.687 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.333e-05/0.1392, allocations: 0 / 0.687 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.511e-05/0.1393, allocations: 174.9 kB / 0.6871 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.1394, allocations: 0 / 0.6871 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.1394, allocations: 4 kB / 0.6871 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.186e-05/0.1395, allocations: 41.62 kB / 0.6872 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1395, allocations: 4.656 kB / 0.6872 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.1395, allocations: 4 kB / 0.6872 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1395, allocations: 0.6562 kB / 0.6872 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.068e-05/0.1396, allocations: 27.97 kB / 0.6872 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.1397, allocations: 163.4 kB / 0.6874 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.795e-05/0.1398, allocations: 38.56 kB / 0.6874 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.585e-05/0.1398, allocations: 9.484 kB / 0.6874 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.14, allocations: 89.95 kB / 0.6875 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.14, allocations: 35.17 kB / 0.6875 GB, free: 12.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.14, allocations: 5.906 kB / 0.6875 GB, free: 12.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001667/0.1402, allocations: 61.69 kB / 0.6876 GB, free: 12.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.1402, allocations: 51.41 kB / 0.6877 GB, free: 12.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.953e-05/0.1403, allocations: 93.86 kB / 0.6877 GB, free: 11.94 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.1403, allocations: 33.83 kB / 0.6878 GB, free: 11.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.463e-05/0.1403, allocations: 84.08 kB / 0.6879 GB, free: 11.81 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.1404, allocations: 23.72 kB / 0.6879 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.1404, allocations: 0 / 0.6879 GB, free: 11.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.1405, allocations: 318.8 kB / 0.6882 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.051e-05/0.1405, allocations: 4 kB / 0.6882 GB, free: 11.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/0.1405, allocations: 12 kB / 0.6882 GB, free: 11.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.819e-05/0.1406, allocations: 7.984 kB / 0.6882 GB, free: 11.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1406, allocations: 3.938 kB / 0.6882 GB, free: 11.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.83e-05/0.1407, allocations: 61.61 kB / 0.6883 GB, free: 11.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1407, allocations: 7.984 kB / 0.6883 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1407, allocations: 0 / 0.6883 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.1407, allocations: 3.938 kB / 0.6883 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.157e-05/0.1408, allocations: 8 kB / 0.6883 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1408, allocations: 0 / 0.6883 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.288e-05/0.1408, allocations: 4 kB / 0.6883 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.1408, allocations: 0 / 0.6883 GB, free: 11.35 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.589e-05/0.1409, allocations: 114.5 kB / 0.6884 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-06/0.1409, allocations: 8 kB / 0.6884 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.1411, allocations: 81.16 kB / 0.6885 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1411, allocations: 7.984 kB / 0.6885 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1411, allocations: 0.5 kB / 0.6885 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1411, allocations: 0 / 0.6885 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.1412, allocations: 165.5 kB / 0.6886 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1413, allocations: 8 kB / 0.6887 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.988e-05/0.1413, allocations: 8 kB / 0.6887 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1413, allocations: 0 / 0.6887 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1413, allocations: 8 kB / 0.6887 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1413, allocations: 3.984 kB / 0.6887 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1414, allocations: 0 / 0.6887 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.1415, allocations: 89.02 kB / 0.6888 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.1415, allocations: 81.11 kB / 0.6888 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.1415, allocations: 4 kB / 0.6888 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.314e-05/0.1416, allocations: 4 kB / 0.6888 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.1416, allocations: 7.984 kB / 0.6889 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1416, allocations: 0 / 0.6889 GB, free: 10.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.248e-05/0.1416, allocations: 79.28 kB / 0.6889 GB, free: 10.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1416, allocations: 0 / 0.6889 GB, free: 10.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.1419, allocations: 47.94 kB / 0.689 GB, free: 10.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002125/0.1421, allocations: 151.1 kB / 0.6891 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.904e-05/0.1422, allocations: 36.02 kB / 0.6892 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1422, allocations: 0 / 0.6892 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.869e-05/0.1422, allocations: 19.94 kB / 0.6892 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.1424, allocations: 7.938 kB / 0.6892 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.1426, allocations: 148.4 kB / 0.6893 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.1428, allocations: 0.677 MB / 0.69 GB, free: 9.449 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.604e-05/0.1429, allocations: 15.97 kB / 0.69 GB, free: 9.434 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.1429, allocations: 11.44 kB / 0.69 GB, free: 9.422 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1429, allocations: 0 / 0.69 GB, free: 9.422 MB / 494.1 MB Notification: Performance of Templates: time 0.003196/0.1461, allocations: 1.154 MB / 0.6911 GB, free: 8.273 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1)