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.0007815/0.0007815, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005176/0.005176, allocations: 172.3 kB / 16.26 MB, free: 6.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.324/1.324, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001697/0.001697, allocations: 270.7 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9382/0.9382, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.0004049, allocations: 14.06 kB / 0.5986 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.169, allocations: 88.56 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.001246/0.1702, allocations: 0.9707 MB / 0.6861 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1713, allocations: 0.7045 MB / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.405e-05/0.1713, allocations: 1.938 kB / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/0.1713, allocations: 7.922 kB / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.646e-05/0.1714, allocations: 3.938 kB / 0.6868 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1717, allocations: 95.81 kB / 0.6869 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.677e-05/0.1718, allocations: 28.75 kB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.1718, allocations: 0 / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.34e-05/0.1719, allocations: 15.38 kB / 0.6869 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.336e-05/0.1719, allocations: 11.98 kB / 0.6869 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.172, allocations: 4 kB / 0.6869 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.1722, allocations: 163.8 kB / 0.6871 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.1723, allocations: 3.938 kB / 0.6871 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.1723, allocations: 37.69 kB / 0.6871 GB, free: 13 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.1725, allocations: 112 kB / 0.6872 GB, free: 12.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1725, allocations: 0 / 0.6872 GB, free: 12.89 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1725, allocations: 0.5 kB / 0.6872 GB, free: 12.89 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1725, allocations: 0.5938 kB / 0.6872 GB, free: 12.89 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.0003422/0.1729, allocations: 332.1 kB / 0.6875 GB, free: 12.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1729, allocations: 12.72 kB / 0.6876 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.791e-05/0.1729, allocations: 0.9375 kB / 0.6876 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.173, allocations: 170.1 kB / 0.6877 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.1731, allocations: 12.31 kB / 0.6877 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.1731, allocations: 384 / 0.6877 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.717e-05/0.1732, allocations: 49.94 kB / 0.6878 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1732, allocations: 0.75 kB / 0.6878 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.1732, allocations: 0 / 0.6878 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.1732, allocations: 1.188 kB / 0.6878 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.118e-05/0.1733, allocations: 27.97 kB / 0.6878 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.1734, allocations: 158.2 kB / 0.688 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.418e-05/0.1735, allocations: 36.34 kB / 0.688 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.855e-05/0.1736, allocations: 20.98 kB / 0.688 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003416/0.1739, allocations: 184.7 kB / 0.6882 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.1739, allocations: 42.48 kB / 0.6882 GB, free: 11.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1739, allocations: 3.938 kB / 0.6882 GB, free: 11.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001708/0.1741, allocations: 61.69 kB / 0.6883 GB, free: 11.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.1742, allocations: 52.06 kB / 0.6883 GB, free: 11.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.833e-05/0.1742, allocations: 95.61 kB / 0.6884 GB, free: 11.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.1742, allocations: 25.7 kB / 0.6885 GB, free: 11.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.1743, allocations: 84.14 kB / 0.6885 GB, free: 11.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.1743, allocations: 15.8 kB / 0.6885 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/0.1743, allocations: 12.62 kB / 0.6886 GB, free: 11.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.1745, allocations: 314.8 kB / 0.6889 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.1745, allocations: 4 kB / 0.6889 GB, free: 10.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.804e-05/0.1745, allocations: 15.98 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.646e-05/0.1746, allocations: 28.73 kB / 0.6889 GB, free: 10.92 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1746, allocations: 0 / 0.6889 GB, free: 10.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.618e-05/0.1746, allocations: 58.38 kB / 0.689 GB, free: 10.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1747, allocations: 13.81 kB / 0.689 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1747, allocations: 0.875 kB / 0.689 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1747, allocations: 0 / 0.689 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.1748, allocations: 8 kB / 0.689 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1748, allocations: 0.625 kB / 0.689 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.1748, allocations: 4.469 kB / 0.689 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.1748, allocations: 7.984 kB / 0.689 GB, free: 10.83 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 7.071e-05/0.1749, allocations: 116.2 kB / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-06/0.1749, allocations: 4.938 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.1751, allocations: 81.36 kB / 0.6892 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1751, allocations: 3.938 kB / 0.6892 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1751, allocations: 0 / 0.6892 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.1751, allocations: 0 / 0.6892 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.1752, allocations: 161.6 kB / 0.6893 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1752, allocations: 0.5 kB / 0.6893 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.336e-05/0.1753, allocations: 11.98 kB / 0.6894 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.1753, allocations: 3.938 kB / 0.6894 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1753, allocations: 8 kB / 0.6894 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1753, allocations: 0 / 0.6894 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1753, allocations: 11.88 kB / 0.6894 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.1754, allocations: 85.12 kB / 0.6895 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.1755, allocations: 81.05 kB / 0.6895 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.1755, allocations: 0 / 0.6895 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.637e-05/0.1755, allocations: 0 / 0.6895 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.1755, allocations: 11.98 kB / 0.6896 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.1755, allocations: 0 / 0.6896 GB, free: 10.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.063e-05/0.1756, allocations: 83.28 kB / 0.6896 GB, free: 10.08 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1756, allocations: 0 / 0.6896 GB, free: 10.08 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.1758, allocations: 31.94 kB / 0.6897 GB, free: 10.05 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.000199/0.176, allocations: 135.2 kB / 0.6898 GB, free: 9.902 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.289e-05/0.1761, allocations: 31.92 kB / 0.6898 GB, free: 9.871 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1761, allocations: 0 / 0.6898 GB, free: 9.871 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.822e-05/0.1761, allocations: 19.98 kB / 0.6898 GB, free: 9.852 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.1763, allocations: 2.641 kB / 0.6898 GB, free: 9.852 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002302/0.1765, allocations: 152.5 kB / 0.69 GB, free: 9.676 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.1767, allocations: 0.677 MB / 0.6906 GB, free: 8.973 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.783e-05/0.1768, allocations: 15.84 kB / 0.6907 GB, free: 8.957 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.1768, allocations: 11.44 kB / 0.6907 GB, free: 8.945 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1768, allocations: 4 kB / 0.6907 GB, free: 8.941 MB / 494.1 MB Notification: Performance of Templates: time 0.003325/0.1801, allocations: 1.272 MB / 0.6919 GB, free: 7.668 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)