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) 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.AlphaPlateFree,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009825/0.0009825, allocations: 90.75 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.001273/0.001273, 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.336/1.336, allocations: 223.3 MB / 240 MB, free: 5.301 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: 278.5 kB / 291.3 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9582/0.9582, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004121/0.0004122, allocations: 13 kB / 0.598 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1386, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.001096/0.1398, allocations: 0.9635 MB / 0.6854 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009171/0.1407, allocations: 0.6446 MB / 0.686 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.672e-05/0.1407, allocations: 0 / 0.686 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.089e-05/0.1407, allocations: 1.375 kB / 0.686 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.796e-05/0.1408, allocations: 7.938 kB / 0.6861 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.1411, allocations: 97.31 kB / 0.6861 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.043e-05/0.1411, allocations: 19.92 kB / 0.6862 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.1412, allocations: 11.92 kB / 0.6862 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.968e-05/0.1413, allocations: 14.86 kB / 0.6862 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.748e-05/0.1413, allocations: 12 kB / 0.6862 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1413, allocations: 3.938 kB / 0.6862 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.1416, allocations: 155.8 kB / 0.6864 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.784e-06/0.1416, allocations: 0 / 0.6864 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.1416, allocations: 37.69 kB / 0.6864 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.1418, allocations: 68.11 kB / 0.6865 GB, free: 13.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1418, allocations: 0.5 kB / 0.6865 GB, free: 13.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1418, allocations: 0.5 kB / 0.6865 GB, free: 13.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.1418, allocations: 0.5 kB / 0.6865 GB, free: 13.45 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.000314/0.1421, allocations: 340.2 kB / 0.6868 GB, free: 13.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1422, allocations: 8.031 kB / 0.6868 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.1422, allocations: 1.844 kB / 0.6868 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.1423, allocations: 178.9 kB / 0.687 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1423, allocations: 4 kB / 0.687 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.1423, allocations: 0 / 0.687 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.1425, allocations: 42.44 kB / 0.687 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1425, allocations: 1.719 kB / 0.687 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1425, allocations: 0 / 0.687 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.1425, allocations: 0 / 0.687 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.21e-05/0.1426, allocations: 23.98 kB / 0.687 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.1428, allocations: 162.3 kB / 0.6872 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.34e-05/0.1428, allocations: 41.03 kB / 0.6872 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.1429, allocations: 24.95 kB / 0.6872 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003819/0.1433, allocations: 186.2 kB / 0.6874 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.1433, allocations: 32.62 kB / 0.6875 GB, free: 12.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1433, allocations: 0 / 0.6875 GB, free: 12.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001879/0.1435, allocations: 61.69 kB / 0.6875 GB, free: 12.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.1435, allocations: 55.34 kB / 0.6876 GB, free: 12.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.575e-05/0.1436, allocations: 90.48 kB / 0.6877 GB, free: 12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1436, allocations: 34.42 kB / 0.6877 GB, free: 11.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.291e-05/0.1437, allocations: 84.08 kB / 0.6878 GB, free: 11.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.1437, allocations: 12.67 kB / 0.6878 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.1437, allocations: 0 / 0.6878 GB, free: 11.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1438, allocations: 323.4 kB / 0.6881 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.1439, allocations: 5.312 kB / 0.6881 GB, free: 11.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.758e-05/0.1439, allocations: 12.23 kB / 0.6881 GB, free: 11.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.873e-05/0.1439, allocations: 12.12 kB / 0.6881 GB, free: 11.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1439, allocations: 0.75 kB / 0.6881 GB, free: 11.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.766e-05/0.144, allocations: 57.59 kB / 0.6882 GB, free: 11.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1441, allocations: 8.125 kB / 0.6882 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1441, allocations: 3.938 kB / 0.6882 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.1441, allocations: 4 kB / 0.6882 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-05/0.1442, allocations: 4 kB / 0.6882 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1442, allocations: 7.938 kB / 0.6882 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/0.1442, allocations: 3.938 kB / 0.6882 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.1442, allocations: 0 / 0.6882 GB, free: 11.42 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 7.365e-05/0.1443, allocations: 122.4 kB / 0.6883 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-06/0.1443, allocations: 0 / 0.6883 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.1445, allocations: 77.23 kB / 0.6884 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1445, allocations: 4 kB / 0.6884 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1445, allocations: 0 / 0.6884 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.1445, allocations: 0 / 0.6884 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.1446, allocations: 169.5 kB / 0.6886 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1446, allocations: 0 / 0.6886 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.249e-05/0.1447, allocations: 11.94 kB / 0.6886 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1447, allocations: 3.984 kB / 0.6886 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.1447, allocations: 4 kB / 0.6886 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1447, allocations: 0 / 0.6886 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1447, allocations: 4 kB / 0.6886 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.1448, allocations: 85.08 kB / 0.6887 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/0.1449, allocations: 77.11 kB / 0.6887 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.1449, allocations: 4.188 kB / 0.6887 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.081e-05/0.1449, allocations: 7.938 kB / 0.6887 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.145, allocations: 11.92 kB / 0.6888 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.145, allocations: 8 kB / 0.6888 GB, free: 10.74 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.298e-05/0.145, allocations: 75.28 kB / 0.6888 GB, free: 10.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.145, allocations: 0 / 0.6888 GB, free: 10.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.1453, allocations: 31.94 kB / 0.6889 GB, free: 10.63 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.0002124/0.1455, allocations: 135.2 kB / 0.689 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.836e-05/0.1456, allocations: 23.98 kB / 0.689 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1456, allocations: 0 / 0.689 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.92e-05/0.1456, allocations: 16.09 kB / 0.689 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.1458, allocations: 14.92 kB / 0.689 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/0.146, allocations: 144.5 kB / 0.6892 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.1462, allocations: 0.6809 MB / 0.6898 GB, free: 9.562 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.938e-05/0.1463, allocations: 11.94 kB / 0.6899 GB, free: 9.551 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.1463, allocations: 11.44 kB / 0.6899 GB, free: 9.539 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1463, allocations: 0 / 0.6899 GB, free: 9.539 MB / 494.1 MB Notification: Performance of Templates: time 0.003333/0.1497, allocations: 1.274 MB / 0.6911 GB, free: 8.266 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.makefile (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)